Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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
Community Members
Community Events
Community Groups

Structure: How do you use formula language or JQL to return summary of an Initiative or goal?


We use a hierarchical system for linking issues. At the top is a goal which feeds down to an initiative, and then down to Epics, stories, tasks etc. In a column in structure, I would like to list title (Summary) of the goal or initiative that an epic is linked to (child of). I can do the recursive search without problem but I am trying to figure out how to return the summary field of the issue as a column. Suggestions?



1 answer

0 votes

Hello @Bernard Horowitz ,

Something like this formula may work for you :

IF issuetype = "EPIC":

That should return the Goal level and to get the Initiative level, I believe you would want to change #level=1 to #level=-1.

Please let me know if this helps.



Thanks for the response. I understand what you are doing with this but it doesn't work. The initial JQL uses a recursive lookup:

issueFunction in linkedIssuesOfRecursiveLimited("issuekey in (xxx-xx,xxx-xx,xxx-xx,xxx-xx,xxx-xx,xxx-xx)", 4, "is parent of")and issuetype =Epic and FixVersion is EMPTY and filter=YYYYYY and status !=Done and created <= -180d and project !=Templates

The XXX-xx refers to Goals issue key that I want to include. I am assuming that the 4 goes down to from Goal, to a nested goal, to Initiative,  to Epic.

When I add your formula to the column it is pulling the heiarchy as rendered in the search, so If I am using a folder above the JQL in the automation it pulls that instead of the heiarchary of the actual issue Goal -->Goal --> Initiative --> Epic....I want to go to either the top level goal or the second goal. But in my list as generated by the inserted JQL I don't need to see initiatives or Goals, just the column showing the linking to it. Make sense?

Hi @Bernard Horowitz ,

Do I understand correctly that the Goals and Initiatives are not in the structure?

If that's the case, we can get the summary from the Initiative since it is directly related to the Epic.  We are not able to get the Summary from the Goal as it is two steps removed from the Epic.

The formula for the Initiative's summary would look like this:

.FILTER($.type = "composition" AND $.destination = this

It filters the issue link type identifying the destination (should be the Epic) and then returns the issue(s) linked to it as defined.  It then returns the Source issue's (should be Initiative) Summary.

It makes use of Array Functions and Item Property Reference.

You will need to update "composition" to match the issue link type that connects your Epics and Initiatives.  If you don't get the results you expect, it could be the destination and source pieces of the formula need to be switched. 

Please let me know if this helps.


Suggest an answer

Log in or Sign up to answer

Atlassian Community Events