Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## 3.2.1
- Fixed the deafult attribute invocation for jira field ``description`` to verify that the attribute exists first. If ``description`` attribute does not exist then return ``null``.

## 3.2.0
- Add new feature to ``jira.get_issue`` to allow for stripping of Jinja templating artifacts from resulting output. (Removes instances of {{ }} from results.)

Expand Down
2 changes: 1 addition & 1 deletion actions/lib/formatters.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def to_issue_dict(issue, include_comments=False, include_attachments=False,
'key': issue.key,
'url': url,
'summary': issue.fields.summary,
'description': issue.fields.description,
'description': issue.fields.description if hasattr(issue.fields, 'description') else None,
'status': issue.fields.status.name,
'priority': issue.fields.priority.name if hasattr(issue.fields, 'priority') else None,
'resolution': resolution,
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: 3.2.0
version: 3.2.1
python_versions:
- "3"
author: StackStorm, Inc.
Expand Down
Loading