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
4,295,095
Community Members
 
Community Events
165
Community Groups

how to make a custom field conditionally required

I'm looking at ScriptRunner in the hopes that I can make a custom field conditionally optional vs. required based on the value of another field. So far, it looks like this was possible using the server edition (I got my hopes up), but NOT for the cloud edition (severe depression sets in). Is this true, and if so, are there any creative workarounds? (with or without ScriptRunner)

I understand the worst-case scenario would be to create a filter looking for the condition where the source field and the custom field values indicate a failure, and then email people with the list of those failures to manually update things, but that's the nuclear option I'd like to avoid.

1 answer

0 votes
Fabian Lim Community Leader Jun 07, 2022

Hi @Rob Wickham

I have used the jmwe plugin to create a scripted validator.  Give it a try: https://innovalog.atlassian.net/wiki/spaces/JMWEC/pages/935362565/Build-your-own+%28scripted%29+Validator

I believe scriptrunner should be able to do it too, but you have to write it out.  

Regards

Thank you Fabian, unfortunately waiting for a transition to validate this would be too late in the workflow.

Fabian Lim Community Leader Jun 07, 2022

Yup, in that case you will have to wait for the behaviours which is coming up soon in cloud. 

Like Vikrant Yadav likes this

thanks! I didn't know that and will check for any specifics.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,387 views 37 44
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