Automatically reject all sub-tasks if parent task is rejected.

I wonder if there is the option to configure so that all sub-tasks are opened automatically if the pending parent is rejected.

5 answers

This widget could not be displayed.

Hi Michely,

default option in JIRA don't have this post-function, but i found some plugin that helping you in this case:

http://minyaa.com/documentation/3.1/Features/ModuleWorkflows/WorkflowFunctions/TransitionSubtasksFunction.html

Thanks.

Did you try the plugin i mentioned?

Have not seen any plugin that has recommended. In my Jira not appear to Post-function: "Transition subtasks" !!!

This widget could not be displayed.

I installed the plugin, enter the script but did not work = /

Could you show us the script you used? On which transition did you add the post-function? Are there any exceptions in the logs?

This widget could not be displayed.

Posted 2 days ago a answer to you:

"Hi Michely,

default option in JIRA don't have this post-function, but i found some plugin that helping you in this case:

http://minyaa.com/documentation/3.1/Features/ModuleWorkflows/WorkflowFunctions/TransitionSubtasksFunction.html

Thanks."

I read anteriorly, but not found citing no plugin to install.

The option in the Post-function does not exist for me, "Transition subtasks"!

Do you understand?

Hi Michely,

this is the plugin: http://minyaa.com/documentation/3.1/Installation/Compatibilities.html

and this plugin will enable the post-function that i mentioned.

Thanks.

This widget could not be displayed.

I installed the plugin, but other options appeared in the Post Functions.

See the attached image!

Oh Thank you! I will wait ...

Hi Michely,

I had a plugin that does exactly what you are looking for. Give me a few hours I will see if I can find it.

Sorry Michely. What I have was only to set the resolution of the subtasks. But I do remember what we did so here are a few points I can share with you. If this suits your needs, you can let me know and I can help you out with some code pointers.

Our goal was to resolve the sub-task as Won't fix whenever a parent issue was Rejected. You cannot simply update the sub-task status to "Closed" or any state you like as you have to go through a workflow transition using IssueService.

So we made a Resolved transition available in each of our steps of our sub-task workflow.

We could then write a plugin to transition the sub-tasks through "Resolved" transition and set the resolution to "Won't fix".

Did that make sense? So basically, each step in your sub-task workflow should have a "Resolved" status or a "Reject" status so when your parent sub-task is rejected, the sub-task no matter in which state it is in, will have the "Resolved" or "Reject" transition available and we can use IssueService to move it through that transition using some code.

This widget could not be displayed.

Oh Thank you! I will wait ...

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

206 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you