Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to display aggregate status of a group of sub-tasks

Steve Rohde June 20, 2018

I'd like to add a custom field to Story issues that displays the earliest workflow status of a Story’s sub-tasks.

example

Given:

  • a linear subtask workflow of STEP 1 >> STEP 2 >> STEP 3 >> STEP 4
  • a story with sub-tasks having status values of STEP 1 and STEP 3

The story displays the value STEP 1 

 

 

Any suggestion on how to implement this would be greatly appreciated.

Thanks!

1 answer

0 votes
Ivan Tovbin
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.
June 20, 2018

Hi Steve,

If you have Scriptrunner add-on, you can easily implement this using a scripted field. The script behind it will basically go through all subtasks of a story (if any), check the status of each of them and return the earliest one as the field's value.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events