Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Latest Release based on Component

VishalBabuKS July 11, 2022

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 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 13, 2022

Hello @VishalBabuKS

Thank you for reaching out.

Per your description, I understand that you would like to filter your issues with the last released version, however, considering only the versions with a specific text string (Web, IOS, etc). Is that correct?

Unfortunately, I'm afraid this is not possible, as Jira does not work with multiple version hierarchies, but only with a single hierarchy. It means that each version that is released is considered to be the successor of the last one released, not mattering the text string (Component) added to it.

We have a feature request to improve this behavior:

Ability for JIRA to understand version hierarchies 

Feel free to vote and watch the suggestion to increase its priority and also receive notifications about any updates.

Let us know if you have any questions.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events