Apply regex to versions on jql filter

Albert Palomer
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!
October 17, 2023

Hello,

I have several unreleased versions in my project:

  • The next bugfix ([0-9]\.[0-9]\.[1-9])
  • The next minor release ([0-9]\.[0-9]\.0)
  • The next major release ([0-9]\.0\.0)

Using the earliestUnreleasedVersion() I can show a filter with the one further down in the release list. Now, I would like something similar but filtering with the bugfix, minor, or major regex expressions. I see that there is the option to use unreleasedVersions() but this gives a list and then I do not know how to further filter it with the regex and/or take the earliest one.

 

Does anybody know how to get these filters up and running?

 

Thank you very much.

2 answers

1 accepted

0 votes
Answer accepted
Albert Palomer
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!
October 17, 2023

I've managed to solve it assuming there is only one of each int he unreleased list:

  • Next bugfix: fixVersion ~ "*.*.*" AND fixVersion in unreleasedVersions() AND fixVersion !~ "*.*.0"
  • Next minor: fixVersion ~ "*.*.0" AND fixVersion in unreleasedVersions() AND fixVersion !~ "*.0.0"
  • Next major: fixVersion ~ "*.0.0" AND fixVersion in unreleasedVersions()
Dirk
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 26, 2024

This cannot work, because ticket JRASERVER-71499.

Does anyone have other ideas for a solution?

0 votes
Petru Simion _Simitech Ltd__
Atlassian Partner
November 3, 2024

Our app, CIFJ - Versions Dashboard for Jira

https://marketplace.atlassian.com/apps/1235582/cifj-versions-dashboard?hosting=cloud&tab=overview

might help you with your search.

Suggest an answer

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

Atlassian Community Events