You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
In a workflow, I want to do the following:
Its really simply to either place a condition on the value of a custom field, OR to put a restriction on the group that is allowed to transition, but combining them is giving me a hard time...
Anyone has an idea?
I've tried the simple ScriptRunner snippets, but I don't know how to control the transition in Groovy. The ScriptRunner documentation is not making me all the wiser on this point either :(
You can create nested condition to build what you are looking for a bit like explain in this community question.
So you can add a block require all condition to be met for value = DevOps and Group = ...
Then add a new condition but only selecting "Any of the condition" with value = project.
Regards
@Florian Bonniec wow... I never new that it was a dropdown (completely missed the arrow down icon)!
You know how much I've scripted through the years that could have been solved with nesting?!
It works like a charm, thank you so much for such a simple solution :)
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.