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
6 changes: 3 additions & 3 deletions plugins/jira/.CHECKSUM
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"spec": "920ed91ee490c184d074e8c81f037c68",
"manifest": "e34d2e217c44d6ed8260591983f3271b",
"setup": "8d373e394c4694c13d32a7ab69350cf0",
"spec": "dfdafa425b7f25597bda967723b2d4ae",
"manifest": "189dfa93470e08aaebe8313f474f4dc7",
"setup": "53005391dcefb9bf8a39e1e2a23f354e",
"schemas": [
{
"identifier": "assign_issue/schema.py",
Expand Down
2 changes: 1 addition & 1 deletion plugins/jira/bin/komand_jira
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ from sys import argv

Name = "Jira"
Vendor = "rapid7"
Version = "6.1.1"
Version = "6.2.0"
Description = "Automate the creation, search and management of issues, users, and alerting for Jira Software, Jira Server, and Jira ServiceDesk"


Expand Down
1 change: 1 addition & 0 deletions plugins/jira/help.md
Original file line number Diff line number Diff line change
Expand Up @@ -1206,6 +1206,7 @@ _This plugin does not contain any troubleshooting information._

# Version History

* 6.2.0 - Fix issue in Get Comments actions where normalize_user is missing the is_cloud argument from client connection
* 6.1.1 - Fix issue where attachments added in tickets were empty
* 6.1.0 - Add Monitor Issues trigger | Update New Issue trigger to only trigger in case of recently created tickets | Change `required` property to false for `project` input in New Issue trigger | Fix issue in New Issue trigger to include all results that match JQL | Fix issue in New Issue trigger with retrieving attachments
* 6.0.8 - Fix issue where exception type was wrong in Create Issue
Expand Down
2 changes: 1 addition & 1 deletion plugins/jira/komand_jira/actions/get_comments/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def run(self, params={}):

comments = issue.fields.comment.comments or []

results = list(map(lambda comment: normalize_comment(comment, logger=self.logger), comments))
results = list(map(lambda comment: normalize_comment(comment, is_cloud=self.connection.is_cloud, logger=self.logger), comments))
results = insightconnect_plugin_runtime.helper.clean(results)

count = len(results)
Expand Down
4 changes: 2 additions & 2 deletions plugins/jira/komand_jira/util/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
from insightconnect_plugin_runtime.exceptions import PluginException


def normalize_comment(source, logger=logging.getLogger()):
def normalize_comment(source, is_cloud=False, logger=logging.getLogger()):
comment = source.raw
author = normalize_user(source.author, logger=logger)
author = normalize_user(source.author, is_cloud, logger)
comment["author"] = author
return comment

Expand Down
2 changes: 1 addition & 1 deletion plugins/jira/plugin.spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ vendor: rapid7
support: rapid7
status: []
description: Automate the creation, search and management of issues, users, and alerting for Jira Software, Jira Server, and Jira ServiceDesk
version: 6.1.1
version: 6.2.0
supported_versions: ["Jira Server 6.0", "Jira (Cloud)", "Jira ServiceDesk (Cloud)"]
resources:
source_url: https://github.com/rapid7/insightconnect-plugins/tree/master/plugins/jira
Expand Down
2 changes: 1 addition & 1 deletion plugins/jira/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


setup(name="jira-rapid7-plugin",
version="6.1.1",
version="6.2.0",
description="Automate the creation, search and management of issues, users, and alerting for Jira Software, Jira Server, and Jira ServiceDesk",
author="rapid7",
author_email="",
Expand Down