Skip to content

Commit

Permalink
add 'priority' field to formatter (#64)
Browse files Browse the repository at this point in the history
* add 'priority' field to formatter
  • Loading branch information
stfn775 authored Sep 28, 2023
1 parent 3802b52 commit 7ba2014
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 2.4.2

- Update `formatters.py` to include `priority` field

## 2.4.1

- Update `search_issue` to include `include_components` and `include_subtasks` as flags
Expand Down
1 change: 1 addition & 0 deletions actions/lib/formatters.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def to_issue_dict(issue, include_comments=False, include_attachments=False,
'summary': issue.fields.summary,
'description': issue.fields.description,
'status': issue.fields.status.name,
'priority': issue.fields.priority.name,
'resolution': resolution,
'labels': issue.fields.labels if hasattr(issue.fields, 'labels') else [],
'reporter': reporter,
Expand Down
2 changes: 1 addition & 1 deletion pack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ keywords:
- issues
- ticket management
- project management
version: 2.4.1
version: 2.4.2
python_versions:
- "3"
author : StackStorm, Inc.
Expand Down

0 comments on commit 7ba2014

Please sign in to comment.