How do i sync statuses of user story and tasks in the Jira Workflow?

For example:- Considering default workflow for JIRA. I have a user story "Story 1" and its linked tasks are    "Task 1","Task 2","Task 3".

Initially my "Story 1" and "Task1","Task 2","Task 3" are in "To Do" State.

Now that i move all of my tasks' to "InProgress" state. So what i expect is that my "Story 1" status should also move to "InProgress" state.

 Is it possible? and How?

1 answer

0 votes

You will need to find/write a listener or post-function that can be added to a new workflow that will pick up when a sub-task is transitioned, read the parent and check the other sub-tasks, then move the Story through the required transition(s) to get it into the right status.

Thanks for your suggestion. Will check into that.

Hi Nic,

Where will i add this Post Function in the Workflow? went through the Docs , but unable to find post functions in the Properties Panel in JIRA on cloud instance.

 

Hi Nic ,

Just giving you an idea of my scenario. So that you get a thorough insight into it.

I have 2 boards.

1) Board 1 for "User Stories"

2) Board 2 for "Tasks".

 

These "Tasks" are linked to the "User Stories" in Board 1.

 

Now my Board 1 has workflow in this manner

( Backlog-> Analysis-> Developement-> QA-> Completed->Release )

Board 2 has workflow

(To Do -> Ready to Work -> In Progress -> On Hold -> Done)

 

What i want is that , Whenever i move my story from Backlog to Analysis Phase associated tasks should remain in To Do stage and when the User Story is moved from Analysis to Developement stage all of the associated tasks should move to Ready to Work Stage.

 

Also when a user logs work against his/her task the task should automatically move to                  In Progress stage and when the user completes the task it should move to Done stage also the associated User Story should also move to QA Stage. 

 

How can it be achieved?

 

 

Also i find that configuring listeners is not supported by JIRA Cloud.

Thanks!

 

Sorry, I didn't see the "cloud" flag when I first answered.

Post-functions are done in the workflow, not a "properties box", but that's not important - there are no post-functions for Cloud that can do this.  You need an add-on to provide some dedicated code, or something like the Script Runner which can give a framework to write code in

Ok Nic. 

Will check that.

Thanks.

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,380 views 15 19
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