You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hello
I in our workflow we have the status "Wait". When we transition to the status we set a "Wait until" date.
Once that date's been reached the automation rule executes and notifies the assignee via e-mail about the waiting period being over.
The "Wait" status can be reached from various other statuses but can always only go back to the previous one and itself.
Now we want the issue to automatically transition back to the status it came from,
(Like, if it comes from "Planning" it can only go back there.)
I already tried it with smart values from the Advanced fields documentation but that didn't work.
Specifically I tried using the value below. But it always gives me an error in the audit log that the transition needs a numerical status id.
{{#changelog.status}}{{from}}{{/}}
Is there any other way to solve this?
Thanks in advance.
Hi Sebastian,
Yes we don't really support this very well yet (see https://codebarrel.atlassian.net/browse/AUT-47).
For now the best option would be to record the previous status id in a custom field as @Christopher Jaksch mentioned.
You could use a rule like this:
Then you could transition to {{issue.Previous status}} using the 'Transition action'.
We'll hopefully make this easier in future, but we've got quite a few higher priority items in our backlog currently.
Cheers,
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How was this accomplished? I'm not sure what "transition action" means. Where do I place "{{issue.Previous status}}"?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Derk
How did you do:
I'm not sure what "transition action" means. Where do I place "{{issue.Previous status}}"?
I can't figured it out yet :-(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @Derek Mart - How can I specify {{issue.Previous status}} in the Transition Action? - All I get is copy or the statuses available but no free expression field.
Thanks,
Jan
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.
Hi @spe,
as a workaround you could define a new custom field "previous status" where you enter the "string" of previous status automatically via post function.
You could use this information for your automatic rule to go back from "wait" to the previous status.
Hope that helps
Best wishes
Chris
STAGIL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @spe
If documentation is correct, it should work.
I would advise you to raise request to Automation support, because i didnt see many codebarrel guys on community :)
And you can try some workarounds, like create branched rule, that will checks prevous status
{{#changelog.status}}{{fromString}}{{/}}
and do direct transition based on status.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Mark Markov
I tried that, too. Unfortunately it doesn't work. In the audit log it always says that the issue doesn't match the compare condition...
I'll try the Automation support then.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.