Mark a story in progress when tasks are in progress for that story

AW February 26, 2015

When a developer starts a task for a story I would like the story to be automatically moved to in progress.

Is this possible?

In my picture I would expect the in progress points to be 4, as Test-2 has been started. 

Or is my mental model for this wrong?

jira.jpg

3 answers

4 votes
Jim Constant February 26, 2015

I couldn't agree more. If you'll turn this into a request (https://jira.atlassian.com/secure/Dashboard.jspa) I'll be the first to vote for it and I'm sure others will follow.

AW February 26, 2015

An issue already exists for this https://jira.atlassian.com/browse/JRA-13012 from '07...

Like # people like this
Kurt Newcomb February 27, 2015

13 years!!??!!

Like # people like this
3 votes
MikeyS
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.
February 27, 2015

The JIRA Misc Workflow Extensions plugin has a post-function that does exactly this, called Transition Parent Issue.  See at: https://innovalog.atlassian.net/wiki/display/JMWE/Post-functions#Post-functions-15-TransitionParentIssue%28newin2.1%29

Simply add that transition to the Start Progress transition on the workflow for your sub-tasks, point it to the Start Progress transition id in your parent workflow, and you should see your parent issues (Stories in your case) start progress when the first task is moved in progress.

Damon Gaylor March 2, 2015

Thanks Mikey, I always wanted to do that and didn't know it was an option.

Damon Gaylor March 2, 2015

One thing, I could not get it to work until I used the Transition Id. Could be because I had the same transition multiple times. If you can't get it to work, use the Transition Id for the Parent Item.

MikeyS
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.
March 2, 2015

Glad to hear @Damon Gaylor. Transition Ids are definitely the way to go as they're unique and also less likely to break if someone is editing the parent workflow.

0 votes
Bernardo January 17, 2020

You can also use: https://marketplace.atlassian.com/apps/5048/jsu-automation-suite-for-jira-workflows?hosting=cloud&tab=overview

 

Here how I did it:

 

1. Set a condition

 

JQL Condition (JSU)

  • JQL Expression: issuetype = Sub-Task AND status = "In Progress"
  • Number of Issues found: Must find issues

 

2. Set a Post-function

 

Linked Transition (JSU)

  • Precondition must be: True
  • Trigger transition on all issues related as: parent
  • Transition: In Progress

 

 

Didn't spend much time describing how, however if you are using "JSU Automation Suite for Jira Workflows" and you need to know how. Just write a comment, I will help you. 

 

This post is very old, however if you happend to read it in 2020 as I did, I will be around

 

Cheers

Suggest an answer

Log in or Sign up to answer