The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Structure formula

Lean Li
Contributor
September 3, 2024

Hi,

I'm trying to find a way to present a Phase on an "Initiative" issuetype wich should be an inherited max value in phase field if all it's child issues that have the value have been resolved.

So, according to the example below, the Initiative's phase should be Design, because all its child issues with phase= Design have been resolved.

However, this formula gives the value "Integration" because one child issue with phase=Integration has been resolved (but not all):

IF(issueType = "Initiative", MAX#children{IF(statusCategory = "Done", Phase)}, "")

Example: 

Initiative A

  • Epic1
    • Phase: Design
    • Status: Done
  • Epic2
    • Phase: Integration
    • Status: Done
  • Epic 3
    • Phase: Integration
    • Status: To Do
  • Epic4
    • Phase: Roll-Out
    • Status: To Do

 

Any ideas on how to refine this formula would be greatly appreciated!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Stepan Kholodov
Community Champion
October 1, 2024

Hello @Lean Li 

The formula returns Integration because it chooses the max value between two 'Done'-related values: 'Design' and 'Integration.' The value is chosen alphabetically. If you change the formula from max to min, it'll return 'Integration'.

Best regards,
Stepan
Tempo (the Structure app vendor)


TAGS
AUG Leaders

Atlassian Community Events