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

Apply regex to versions on jql filter

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.

1 answer

1 accepted

0 votes
Answer accepted

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()

Suggest an answer

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

Atlassian Community Events