I have setup a structure board that...
I would like to ...
Create a formula that can "Provide me a status "delayed" based on multiple criteria of the #children". Something like
statuses = //for each child
WITH storyType = child.issuetype:
WITH status = child.status.name
IF storyType = "Architecture" AND status = "DONE" : Completed
IF storyType = "Architecture" AND status = "IN_PROGRESS" : In_Progress
// outer function
IF ANY(statuses, (status -> status = "IN_PROGRESS")) : In_Progress
Else : Completed
Apologies my above syntax may not be correct but what I am trying to figure out is how can I get access to all the fields in the child elements of my epic.
I found aggregate options like values#children("someField") which gives me an array of someField but what I would like is the ability to run a function on values#children.
I apologise as this maybe a very beginner query and any help would be appreciated.
Hello @Lance Rodrigues
You can try a formula like this:
with status_ = if status = "in progress": "in progress" else
if status = "done": "completed":
if issuetype != "epic": status_ else
if issuetype = "epic" and sum#strict{if status = "in progress": "1"} >0 : "in progress" else
"completed"
The formula will:
- check individual statuses of sub-issues of Epics and return either 'in progress' or 'completed';
- return 'in progress' for each Epic that has at least one sub-issues that is 'in progress' or return 'completed' if no sub-issues are 'in progress'.
I hope this helps. If you need further assistance, please reach out to us directly at our support portal.
Best regards,
Stepan Kholodov
Tempo
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.