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

0 votes
Accepted answer

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,714 views 17 21
Read article

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