Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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:  

https://confluence.atlassian.com/jirakb/how-to-make-jira-applications-fields-required-in-a-workflow-transition-691011903.html

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
TAGS
Community showcase
Published in Confluence Cloud

Share your Confluence Cloud experience for a chance to win $500!

Take our 5-minute survey to win a $500 Visa gift card! Are you currently using Confluence Cloud? We want to hear from you! Fill out this quick survey about your Confluence Cloud experience so we ...

238 views 5 13
Read article

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