ScriptRunner listener does not run groovy scripts

STANISLAV PRIKHODKO March 2, 2016

I'm using Adaptivist ScriptRunner on JIRA v 6.4.11. 

I created a new listener using the menu: JIRA Administration > Add-ons > Script Listeners

 I chose "Fast-track transition an issue" and then used these values for its attributes:

Events set to: "Issue Updated"

Condition set to: isUserMemberOfRole('Administrators')

Action set to: Start Progress

Additional issue actions: issueInputParameters.setComment('Write your comment here')


The code above (in the additional issue actions) was generated when I clicked on the link "Add example: Add Comment". 


However, the last step does not work. I'm an admin and once I edit a ticket, I see that this listener makes it "IN PROGRESS" instantly but it never adds a comment. Please advice.

1 answer

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 2, 2016

please can you close this as it's a duplicate of https://answers.atlassian.com/questions/37523910

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events