Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Resolve subtask on creation of another subtask

Dylan Secreast October 13, 2015

My current project has issues that will never have more then 2 subtasks but requires only one subtask to be in progress at any given time. Upon issue creation, an initial subtask is created automatically.

Currently, I have a Script Runner listener that auto-creates the second subtask based upon changes made to a radio button custom field. At that point, I was wanting it to also resolve the original subtask. I'm thinking that it'll have to be another listener but am at a loss on where to start.

Any input would be greatly appreciated.

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Kristian Walker _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.
January 5, 2016

Hi Dylan,

If you still require assistance with this query could you please post the code for your listener here so that we can look at the code and provide suggestions on how to modify the code in order to achieve your needs.

Thanks

Kristian

0 votes
GabrielleJ
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.
October 13, 2015

Can you just update the listener to close an existing sub-task (if there's any) before it creates a new sub-task?

TAGS
AUG Leaders

Atlassian Community Events