Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,109
Community Members
 
Community Events
168
Community Groups

JIRA structure formula: How to consider only items from structure

Edited
Adam O_ I'm New Here Aug 24, 2022

Dear Community,

I was wondering if anyone has come across similar query. In JIRA structure I would like to build a formula-type column which for an Epic grouping would show the highest priority value derived from JIRAs pinned to this Epic. I have applied the following code: 

stories.priority.UMIN()

However priority values returned are covering ALL JIRAs pinned to a given Epic (even resolved ones), whereas my intention is to limit this only the JIRAs shown in the structure which is limited by a filter (e.g. I only want to show results for "Unresolved" JIRAs). A modified query such as:

stories.filter($.resolution = 'unresolved').priority.UMIN()

Does not help as it fails to return any results at all.

Thanks in case anyone could share a hint.

Adam

1 answer

Hi @Adam O_ ,

Dmitrii with ALM Works here.

This adjustment should do the trick:

stories
.filter($.status!="done")
.priority.UMIN()

Hope this helps!

Kind regards,

Dmitrii Kuzmin

ALM Works

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events