ScriptRunner Behaviour not working on Edit Screen

Hello everyone

I have a behaviour which requires the user to set an assignee based on the selected issue security. The assignee cannot be unassigned.

This works just fine when creating an issue. On the Edit Screen however, it does not. I can edit an unassigned issue, set the appropriate issue security and it will be accepted without an assignee set.

I debugged the script and can confirm that it enters the desired if condition and should set the field to required.

grafik.png

grafik.png

What am I missing here?

Thanks and BR

Marius

1 answer

1 accepted

Please ignore (I can't delete the question). One of my workflow validators was responsible for the desired action. The behaviour works.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

807 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you