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.

 

Tips?

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 =/!=. 

 

Thanks!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,963 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot