Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Wanted to make a system field required for certain screens by using behaviours / post functions.

HI , 

We are looking suggestion to make the Description field as required for certain screens only.  Currently it has been configured as required for all screens and we have tried to configure this to certain screens by using behaviour scripts and even some post functions But nothing shown good.

can anyone help us on this?

Let us know if any information required.


1 answer

You shouldn't need to use Behaviours or Post Functions for this at all.... just use the Field Required Validator on the applicable transitions as documented here:

Actually we are trying to show the system field “Description” as optional field in some of our transition screens.. But same time, We wanted to show it as Required for create/edit screens.. So please suggest some solution to make the field as optional in transition screen.

If that's the case, then you'll want to remove the setting in the Field Configuration that's making it required on all screens, and then control the required setting via Behaviours. You can do this easily without any coding, you would just configure the Behaviour to set the Description field as Required, and then use the "Except" rules to tell it to not apply for certain transitions. Let me know if this doesn't make sense. I don't have easy access to the Behaviours plugin right now, otherwise I would give more detailed instructions.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

330 views 0 10
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you