Build workflow for story depending on sub-task status

Hello,

I want to create a workflow for issue of type story. But I want for example the status of the story to become Ready for test , when all sub-tasks are closed or done. Can I add such condition or can I apply this in Jira?

1 answer

0 votes

You'll need to find or write a "listener" or "post function" to do this. Whichever one you use, it will need to pick up "sub task closed", read the parent issue, check the status of all the other child issues, then transition the parent to "ready for test" when it detects they're all closed.

I'd look at the script-runner add on to do this. There are some related scripts in the examples already.

Can you tell me how to do this in details? That would be very helpful, thankss

Depends on the route you take. Read the documentation for the script runner if you want to go that way. Have a look in the marketplace to see if you can find something that might help. Read the developer documentation if you want to do it yourself.

No script runner for OnDemand :/

Oh. OnDemand. You're stuck then - I'm not aware of any feature in the plugins in OnDemand that would get you anywhere near this, and you can't install other stuff.

so what can I do?

Do you have any idea about what can I do to change from onDemand to be able to use those plug-ins not available for onDemand, because I actually have no idea what is the best product to be used to be able to customize everything in a way that reflects the best our work

any idea of providers?

Migrate off OnDemand to a provider that will allow you to install the script runner or other plugins, or host it yourself.

Have a look through https://www.atlassian.com/resources/experts- you can start by narrowing the list down by clicking "hosting". Different hosting companies have different offerings, so you'll need to have a look through them to see what each has available and which might be most suitable.

Disclaimer - I currently work for one of these partners. Even if I did not though, I'd struggle to recommend any one of them over the others because you need to examine each provider to see how close a match they are for your circumstances (which I don't know as well as you do)

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,175 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot