Forums

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

How to set fixVersions to an unreleased product version with a userReleaseDate > now?

Marcia Booth
January 30, 2026

I currently have an automation to set fixVersions for issues whose fixVersions is empty and are transitioning from In Review to Testing. The fixVersions of those issues are set to "Next unreleased version by release date" which would normally be fine.

However, while we have issues still pending to be tested (issues for that version still in Testing status), we do not release the version in Jira. Its userReleaseDate remains the date the version was released, though. 

Since work continues to be done, we create a new product version and assign a target release date to it. Any new issue that gets transitioned from In Review to Testing should now use this new version. 

Unfortunately, the way the automation is set up, the version that has been released already but is still not marked as released in Jira continues to be set to new issues that have fixVersions empty.

How can I modify that automation to instead of using "Next unreleased version by release date" use the new unreleased version? Can I add a condition to filter versions with a userReleaseDate > today and get the earliest date?

 

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 30, 2026

Hi @Marcia Booth 

For a question like this, context is important for the community to help.  Please post the following:

  • an image of your complete automation rule in a single image for continuity
  • images of any relevant actions / conditions / branches
  • an image of the audit log details showing the rule execution

Until we see those...

The short answer is your rule cannot find the next version by the next, greater date value of the version with the built-in rule actions.

A workaround could use the REST API endpoints to find the correct one.  I have not tried this for your exact scenario, so please experiment to learn if it will help.

  • call the endpoint to get the project's versions using the Send Web Request action, filtered by unreleased, and ordered by releaseDate in ascending order
  • when you only expect one "next, next" version, use list functions to get the correct one
  • when you instead expect an arbitrary number of them, you may need to use more dynamic list searching methods to find the correct one by the date value

 

Kind regards,
Bill

Marcia Booth
January 31, 2026

Thanks for your reply. This is the current automation - when transitioning from In Review to Testing and the fixVersions is empty, edit the issue to add "Next unreleased version by release date", then add a comment

Screenshot 2026-01-31 054417.png

Suggest an answer

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

Atlassian Community Events