Forums

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

Assignee should not be equal to any other custom field ( Any Approver)

_Download2021 July 5, 2022

Hi,

After create a Ticket , Assignee should not be equal to other custom field , field type is "Single user " 

How to resolve this Issue , please suggest me , please provide me Navigation

For reference I am attaching screen short

RFC.PNG

1 answer

1 vote
Fabio Racobaldo _Herzum_
Community Champion
July 5, 2022

Hi @_Download2021 ,

you can add a validator on creation (you can use ScriptRunner for this purpose) and verify that assigne is not equal to one or more single user picker cf.

If so, an error will appear on creation and issue will be not created.

Hope this helps,

Fabio

_Download2021 July 5, 2022

Thanku Fabio Racobaldo

 

But my requirement is after create a Issue , while we click Assigne to me , should get Error, at that time should not be equal to other custom field.

Florian Bonniec
Community Champion
July 5, 2022

Hi

 

I guess the simple way to do it is to use a script with scriptrunner.

 

A listener that catch Issue assigned event and check if the new assigne match your criteria. If not send a popup error and assigne back to the previous user. 

Suggest an answer

Log in or Sign up to answer