Transition Condition based on content of custom field

I have an issue with multiple people giving approval. The reviewers are selected in a custom field by the issue author. The individual approvals are then tracked in another custom field.  I would like to put a condition on the transition to approved status when the custom field content includes all the selected reviewers.


I cant use {field_A} = {field_B} since the approvals may come in a random order. Ex:

Required Approvers: A, B, D, E

Approvals Recieved: D, B, E, A

should allow the transtion to approved status.



1 answer

1 accepted

What are your custom field types?

Field A is a check box list, populated with selected initials. Field B is a text box with the same initials being appended.  If I could force the approvals to come in in the same order as the field A selections, then the straight = would work, but the approvals can come in any order.

I need the syntax to search: "is E anywhere in {field B}"

Why not just use checkboxes for both? You're relying on issue history for auditing either way. 


You may may consider using two user picker fields instead with transitions to approve into the second field. It makes it enforced by who users actually are, not just a trust that the change history will save you.

Yes, that worked. I thought that using check boxes would display boxes, rather than just a text list, but that is not the case.  Using the check boxes keeps the user approvals in order, making it possible to compare fields as =/!=. 



Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

772 views 2 19
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you