Need to call a groovy script when a comment is added to a jira issue. Please let me know the steps to do it in JIRA 4.1

naganathan July 29, 2015
 

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 30, 2015

You need a scripted "listener" to catch "issue commented" events.  See https://jamieechlin.atlassian.net/wiki/display/GRV/Listeners  (I'm pretty sure listener support goes back to JIRA 3.13, so you should be ok on versions)

naganathan July 30, 2015

how to add the groovy script. There is no option in the screen?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 31, 2015

The documentation says you have to do it as a class.

Suggest an answer

Log in or Sign up to answer