How do JIRA listeners work and how can I use them to trigger specific actions?

Jeannette Lamb April 10, 2014

I had asked a prior question and received no comments or answers. I'm hoping someone can help me understand how I can use listeners in JIRA to achieve what I'm looking for. Please post here if you have any generic advice on listeners.

my prior question is here - https://answers.atlassian.com/questions/277041/how-do-i-use-the-issue-assignment-listener-to-automatically-set-the-assignee-of-all-sub-tasks-to-match-the-parent

Thanks.

1 answer

0 votes
Jobin Kuruvilla [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.
April 10, 2014

The following links will hopefully get you started with listeners:

https://developer.atlassian.com/display/JIRADEV/Writing+JIRA+Event+Listeners+with+the+atlassian-event+Library

https://confluence.atlassian.com/display/JIRA/Listeners

You might want to ask specific questions if you are stuck somewhere.

Jeannette Lamb April 10, 2014

Thanks Jobin,

I was hoping there would be a simpler way, that doesn't require development, to use the existing Issue Assignment Listener to automatically set the assignee of all sub-tasks to match the parent.

Perhaps there is some other way, that doesn't involve a listener?

Thanks again,

Jeannette

Jobin Kuruvilla [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.
April 10, 2014

You will definitely need a listener. If you know scripting, you can use the script runner plugin to script a listener. That wouldn't need writing a plugin from scratch.

Suggest an answer

Log in or Sign up to answer