Using Workflow Enhancer for Condition to check approvers

Froilán Júpiter Mangue Nchama January 9, 2019

I am trying to set a condition for a transition in the workflow. Only a user in the approvers list of the issue should be able to execute the transition. What is the Boolean or RegEx expression I can use for this? Thanks

1 answer

1 accepted

0 votes
Answer accepted
shetty
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 9, 2019

Is it user picker field??

then use condition "User Is In Custom field" then add field to that 

tha's it

Froilán Júpiter Mangue Nchama January 9, 2019

I am not sure if JIRA Workflow Enhancer Plugin works with JQL, does it? I think not. I have gotten it to work using the Boolean expression “{Approvers} == /.*[user].*/”. Thanks for your prompt response

shetty
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 9, 2019

this doesn't need any plugin go to workflow condition click add condition select "user is in custom field"

Froilán Júpiter Mangue Nchama January 9, 2019

I don't know what version of JIRA Service Desk are you using. I am using

JIRA Service Desk 3.10.1

JIRA Core 7.7.1

But my JIRA only has the options below

 

Block transition until approval

Hide transition from user

Only Assignee Condition

Only Reporter Condition

Permission Condition

Sub-Task Blocking Condition

User Is In Group

User Is In Group Custom Field

User Is In Project Role

Suggest an answer

Log in or Sign up to answer