I am trying to change the status of an issue to closed based off a specific comment.
this is the what I am adding in the listener, but it is not updating the status of the issue when i add the comment.
Events: Issue Commented
def commentManager = ComponentAccessor.getCommentManager()
def comment ="internal production"
def comments = commentManager.getComments(issue)
I think I need to iterate through the comment objects and try the matching text on each one, i just don't know how to write the code to do this, any help would be appreciated.
It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event