Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Simple JMWE groovy condition for issuetype AND project when workflow is shared



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.



1 answer

1 accepted

1 vote
Answer accepted

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

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you