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.