Forums

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

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

SWAPNIL SRIVASTAV
Contributor
November 29, 2019

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

Suggest an answer

Log in or Sign up to answer
0 votes
Ilya Turov
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 3, 2019

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

SWAPNIL SRIVASTAV
Contributor
December 3, 2019

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
Ilya Turov
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 4, 2019

Guess I was wrong, good to hear.

TAGS
AUG Leaders

Atlassian Community Events