I do have a requirement to make a condition so that customfield_14173 should be required if priority is set to a blocker or critical in service desk form. Am new to scripting, am not sure where to use the script and what to script. Any help us much appreciated.
I tried this in field behavior on the custom filed to be set to required
def vp = getFieldById("customfield_14173")
def priority = getFieldByName("customfield_priority")
if(priority.getValue()==("Blocker") || ("Critical"))
Any help , will this behaviour work in service desk?
At a glance though, it's only the set-required that won't work. For a validator, you'd simply return "true" if the entry is ok, and "false" with an error message when it's not.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
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!
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