Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,245
Community Members
 
Community Events
168
Community Groups

Behaviour Script not working on 'Assign' Screen and 'Assign to me'

I have added a behaviour script on Assignee field to make it read only when a custom user picker field has a value.

The script is working fine on Create and Edit Screen, but it does not work on Assign Screen.

I have tried saving the script as server side as well as Initializer, but got same results.

Also, is it possible to restrict 'Assign to me' functionality using behaviour scripts?

Any help would be appreciated

Regards,

Swapnil Srivastav

1 answer

0 votes

Hello, 

behaviours work only on create/edit/transition screens, so no luck for assigning I guess.

The workaround I guess would be restricting assigning overall and creating your own "assign" transition.

Not really a solution for your problem, but might set you on a right track as well:

you can restrict option to assign issue overall on a certain status using workflow properties

by adding this property to a status: jira.permission.assign.denied

Hello @Ilya Turov ,

Thanks for your response. 

I got it done on the Assign screen as well. Behaviours work on Assign Screen as well

Best Regards,

Swapnil Srivastav.

Like Ilya Turov likes this

Guess I was wrong, good to hear.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events