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,457,112
Community Members
 
Community Events
176
Community Groups

Get Latest Release based on Component

Edited

Hi Jira Team,

In our project we have a requirement that tells us to take the number of tickets and number of bugs  from the latest release based on component. 

Here component means Web, Android, iOS.

I am using this below the jql

project =<projectname>and issuetype = bug AND fixVersion = latestReleasedVersion()
But the above jql provides the latest release which is the first record in the releases tab. But I need the latest release based on component.(Web, Android, iOS)
In the below screenshot, I need to get the count of tickets and bugs from the android and iOS releases. it should be latest one and not older release.
VersionStatusProgressStart dateRelease date

Testone-Web

RELEASED

 

27-Jun-22

27-Jun-22

Testrelease two- web

RELEASED

 

########

########

Testrelease three-android

RELEASED

  

########

Testrelease four-ios

RELEASED

 

########

########

Is there any way to get these results through API or JQL. Kindly help us on this.

1 comment

Hi @VishalBabuKS

welcome to the Atlassian Community.

If I understand your requirement right, you need a way to always list all issues which have been in the latest release based on a component like web, Android, iOS.

Are you naming the releases always as you've stated above so that they contain these components? I'd say that's what you need to do, because in Jira there's no relation between components and releases otherwise.

If you do it like that, you could write a script

  1. which gets the list of releases (also called versions) and determine which one is the latest which contains your component.
  2. In a second step, you can query via JQL and include the determined version into your JQL.

Cheers,
Matthias.

Comment

Log in or Sign up to comment