Hi there,
I'm trying to use automation to move a story from "Done" to "Close" once a release Version is release. We are maintaining multiple Projects with different versions.
Unfortunately, I'm getting an error and I'm unable to find the solution.
Thanks for the help in advance
Thanks Stefan, this helped me with a similar problem.
It‘s my pleasure. Good to know it was helpful 🥳👌🏼
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Dev
As the "Version" is the trigger of your automation rule all the following steps refer to this entity. So in this case the automation rule would ask for the status "Done" for the version and then try to transition the version/release to status "Closed" (which is not possible as version is not an issue type)
The rule needs to collect issues (stories) with the fixedVersion from the trigger. This could be done with rather
and then transition those collected issues to "Closed".
Hope this helps. Please let me know if you have any further questions.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Dev
There is even a branch for "issues fixed in version"
this will collect issues for the version that triggered the automation rule without any lookupIssues or JQL 🙌
You could also set a condition there for only closing issue type "Story" and then add the transition action within this branch.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Dev ,
Did this solve your problem? If so please consider to click "Accept" in order to mark this post as solved.
Thanks in advance.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Using a branch is more performant than a lookupIssue action (which is unnecessary anyways with a branch). A good practice is to "keep it simple" ;)
The following simple rule should do the work:
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe you have to delete your trigger and re-create it. I´ve experienced some hickups with some triggers after changing the rule/not executing a jql within the trigger.
Could you try the suggested approach meanwhile?
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much for your reply. The automation rule seems to be fine. I don't have a safe playground to close a version now. So I will test this and let everyone know if this works well. But for a first glance, it looks good!
Thank 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.