Use Custom Field (multi user picker) as condition for workflow transition

Renske de Boer December 9, 2013

I have a Custom Field of type "multi user picker". I would like to use the user(s) specified in this field as condition for a transition in my workflow. Is this possible?

If I use the condition "User Is In Group Custom Field", the custom field I would like to use does not appear in the Group Selector list.

I would appreciate any help you can provide.

3 answers

1 accepted

0 votes
Answer accepted
RambanamP
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.
December 10, 2013

did you installed JSU plugin ?

the "User Is In Custom field" condition is from the JSU plugin

https://jsutil.atlassian.net/wiki/display/JSUTIL/JIRA+Suite+Utilities+Workflow+Conditions

Renske de Boer December 10, 2013

That solved the issue. Thank you!

Jonathan Harber February 14, 2020

I have a similar problem.  I cannot get the Condition to work on my transition.  When the user selects BRM from a 2 choices BRM and RI (Non-cash) in a Custom Field named Purchase Method, I want the workflow to go to @BRM.  We have JSU installed.  Here are pictures of the workflow, but using the pictured Condition, the workflow stops at Approved by PM?BRM Gear Workflow.JPGCondition of BRM.JPG

0 votes
ioann sys June 1, 2018

Hello!

How to compare UserPicker (multi) values with empy string ("", null)?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 1, 2018

To answer your question as stated, custom-field-value.equals("")

In reality, that will not work, because an empty custom field is not "" or even null, you will get a not found error as it doesn't exist at all.

In that case a simple "(if custom-field-value)" will do the right test for you.

ioann sys June 1, 2018

Nice one)

Thank you!

 

p.s.: resolved as {code}{Approver} != /nobody.*/{code}

0 votes
Jobin Kuruvilla [Adaptavist]
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.
December 9, 2013

Did you try the "Users in custom field" option? See if that works.

Renske de Boer December 10, 2013

Hello Jobin, thank you for your answer. I don't see the "Users in custom field" option. The only condition options related to users are "User Is In Group", "User Is In Group Custom Field", "User Is In Project Role" and the assignee and reporter options.

I tried the "User Is In Group Custom Field" option, but my custom field does not appear in the list. Do I need to configure it in some way?

Suggest an answer

Log in or Sign up to answer