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?
For a question like this, context is important for the community to help. Please post the following:
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.
Kind regards,
Bill
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.