Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict the value of a custom user field

Pavel Kabir July 2, 2018

I want to restrict my custom "Verifier" field from being equal to the "Assignee" field.

Is there any possibility to do this, either using stock Jira Software (Cloud) or any free add-ons?

Thank you!

2 answers

0 votes
Claudiu Lionte
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 4, 2018

Hi @Pavel Kabir

There is no straightforward way to achieve that - forbid the _Assignee_ to also be the _Verifier_. I found a workaround but it implies that you create either a separate group or a separate project role for verifiers

You can define a custom field of type _user picker_ and apply some filters on it. Please see this documentation, specifically the section 

How to filter users for user picker fields

The outcome is that your custom field _Verifier_ will only take values from either the group or the project role that you mentioned

0 votes
Deleted user July 3, 2018

Hi Pavel,

You would need to set the field with some post function, listener or something like that and do not put the field in the edit neither create screen, but usually you need paid add-ons to do it.

Anyway... Why would you need a field which will always be the same as the assignee and can't be different? If you tell us what you need and not the technical solution you thought about, we maybe find  another way to achieve what you need.

Suggest an answer

Log in or Sign up to answer