Hi
I have a workflow shared by multiple issue types and multiple projects. I need a condition on the blocked status that hides the transition only when an issuetype is a Story in the QA project.
Everything I'm trying is either working too much or too little. in terms of affecting other projects or issuetypes. Think I just need to get my operators right.
Thanks
What do you mean by "a condition on the blocked status"?
If you just want to hide a transition based on the issue type, you can create a Scripted (Groovy) Condition with a script like:
issue.get("issuetype").name != "Story" || issue.get("project").key != "QA"
Yeh that's what I ended up going with in the end, was trying to use &&, was surprised OR didnt blanket stop everything story OR everything QA
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.