Seems like setFieldOptions() method does not work on the assignee (or any user fields) to limit or restrict the users available in the list.
Is there any other way to achieve this using behaviours?
Not that I am aware of. I think in big part because of how this field behaves (dynamic rest call rather than pre-loaded options).
The best you can do is validate the user input after the fact and set an error if the selected user does not match your rules.
Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events