Build workflow for story depending on sub-task status


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 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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,555 views 15 21
Read article

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