Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Workflow condition multiple values or same field twice? Edited

This is about Workflow conditions, to limit where people can move the issues based on status. So I'm trying to use "Add condition to transition" and using "Field Value" option.

Requirement:

I want to stop issues being transitioned at all once they're resolved. In my workflow I have about 10 status, and two of those are status that represent a "resolved" state - "Done" and "Cancelled".

Ideally I'd like to just set a condition that stops moving an issue FROM a status but this doesn't seem possible. Alternatively I'll set a condition on ALL status stopping a transition TO them if Done or Cancelled.

 

Attempts:

I've successfully setup a condition that does this for one of them: "status != Done", and this works fine. However this doesn't cater for "Cancelled" and I can't find a way to cater for both at the same time.

 

Problems/Limitations:

  1. I cannot use a single condition to search for multiple values, e.g. I can't do "status != Done OR Cancelled"
  2. I cannot use "status" in a second condition to lock out "Cancelled", it seems if "status" is used in one condition it's just not visible in another condition
  3. I cannot condition based on "resolution", which would cater for both scenarios.

 

How can I achieve this please?

2 answers

0 votes

Have you tried doing

status not in (Canceled,Done) 

I’m sorry but I’m not fully understanding what you’re doing but I do know the jql needed to capture or not capture multiple statuses. 
I hope this helps you. 

I've updated my question to add:

This is about Workflow conditions, to limit where people can move the issues based on status.

 

So this is on Workflow Condition field value option. There is no "in" or JQL, just basic = != > < etc

Hi Greg,

- You need to set your conditions to "All of the conditions" at the main level. 

- Then create your first field condition to != Done

- Create the second field condition to !=Done

- If all conditions match, then the button will display.

The following video explains in details step by step.  

Link: https://www.youtube.com/watch?v=1ZKVN0VeaB4  

Thanks for the reply. I tried both settings "All" and "Any" and when trying to add the 2nd condition "Choose field" does not show "Status".

It simply will not let me use the same field in two separate conditions

Suggest an answer

Log in or Sign up to answer
TAGS

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