Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Products
  • Jira
  • Questions
  • 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

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-
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.
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-
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.
July 31, 2015

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events