Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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
Community showcase
Published in Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

180 views 3 8
Read article

Community Events

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

Events near you