JIRA structure formula: How to consider only items from structure

Adam O_
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 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

2 votes
Dima Kuzmin _ALM Works_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
August 25, 2022

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
AUG Leaders

Atlassian Community Events