Can I configure Behaviours to work on the view issue screen?

We've been able to use Behaviours to restrict field options and hide fields in pretty much any screen other than the main one, the view issue screen. Is there any way we can get it to work there?

1 answer

This widget could not be displayed.

Not sure what you want to do there. You can hide fields providing they are of a "hideable" type, only text fields are supported at the moment: https://scriptrunner.adaptavist.com/latest/jira/behaviours-overview.html#_hidden_fields

If you mean editing fields, by design, it prevents inline edit on those fields that have a behaviour applied.

 

I've added Behaviours to restrict options for single/multi-select fields. However on the view issue screen, those Behaviours do not work. I am able to see the full list of options. 

I prevent inline edit by adding JavaScript into the description field in Field Configs, but this doesn't happen automatically for all fields with behaviours.

(We have JIRA 6.4.6 and ScriptRunner 4.1.3) 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

513 views 3 18
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