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

This widget could not be displayed.

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
Posted yesterday in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

43 views 2 2
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