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

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 Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,435 views 0 8
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