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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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,554,508
Community Members
 
Community Events
184
Community Groups

How can you display an entity whose version is the same as the entity to which it is linked?

Chen Sabag
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!
Mar 27, 2023

Hi,

There is a requirement that is associated with a version number and epics are linked to it.
The epics below are varied in their versions.
How is it possible to display only the epics whose version is the same as the version of the requirement to which they are linked?
I found a way to do this in an actual filter, where I actually write the version, and I'm looking for a way that will give a general answer to all situations.

1 answer

0 votes
Lorando
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!
Mar 27, 2023
One possible solution would be to use JQL (Jira Query Language) to create a filter that only displays epics linked to the same version as their associated requirement. Here's an example JQL query that should achieve this:
 
issuetype = Epic and "Epic Link" in linkedIssues("issuetype = Requirement") and fixVersion = issueFunction("linkedIssues('fixVersion is not empty')").first().fixVersion
This query filters for epics that are linked to requirements and have the same fix version as their linked requirement. It uses the issueFunction function to retrieve the fix version of the linked requirement, and then filters for epics that have the same fix version. This should work in most cases, regardless of the specific version number.
 
Note that you may need to adjust the query slightly depending on how your Jira instance is configured, such as if the field names are different or if you need to filter by a different version field.

Suggest an answer

Log in or Sign up to answer