for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
from lib.base import BaseJiraAction
from lib.formatters import to_comment_dict
__all__ = [
'CommentJiraIssueAction'
]
class CommentJiraIssueAction(BaseJiraAction):
def run(self, issue_key, comment_text):
comment = self._client.add_comment(issue_key, comment_text)
result = to_comment_dict(comment)
return result