Hey I have a automated job that runs every night at 11:30 PM that basically checks in the project if any tickets were marked as resolved for that day and if so it creates a version, edits the fix version for those tickets and then releases the version.
This works great if only 1 ticket was released but if 2 or more are released the release is empty
here is the rule:
The JQL selection is the same in both cases
so what I would expect is that the for each loop would suspend the automation until its done looping through
can anyone provide me some help?
Too long; didn't read: this is a timing problem, which is solvable.
Branches which can occur on one-and-only-one issue (e.g. branch on parent) get run "in-line" and so the rule proceeds after the branch. But...all other branches execute in parallel and asynchronously: there is no guarantee they will even finish before all other actions in the rule.
So for a work-around you need to capture the Created Version information so it is not released before you try to reference it as the "next unreleased version".
A few ways to try that are:
Kind regards,
Bill
hey @Bill Sheboy - this is super good info, it got me going down another path and based on my maybe flawed test, works for far
The run order is still out of sorts but when I went to releases I saw them all in there - so will try it out maybe with live tickets and see what happens. I may have to come back to your drawing board if it does not work
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Interesting...what are you setting that created variable to as no issues have the newly created version yet?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So because, and this is somewhat hacky, I am using a standard for versions which is a date without a timestamp - so 07/08/2022 - so I can easily re-use this format for the variable value. People or organizations that would need more dynamic releases this would obviously not work. The automated rule will only ever run once a day so no collision issues
We mainly use releases/versions for communication sake - so all the issues that went live during that day get wrapped up into 1 version for that day and we have another add-on that sends out and email summarizing changes for that day
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello! It sounds like you have a special interest in releases.
If so, we’d like to invite you to a private community designed to better understand our customers different software releases processes, and to share some of our release management ideas for feedback.
If this sounds like you, keep reading.
This community will be a place where you can ask questions, suggest ideas, and provide feedback on releases. We may also email you directly with questions outside of the online group.
It’s for anyone who has a role to play in preparing, planning and/or deploying a software release.
The community will run for about 5 months, you can stay for as little or as long as you like.
The group will be managed by Kahlia Pyle, Zaki Salleh and Andrew Pankevicicius
Please click here Exploring Releases if you are interested or email me at kpyle@atlassian.com
Thanks - we’re looking forward to shaping the future of Atlassian products with you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.