JIRA OnDemand - Update custom field based on a different custom field value

Hi,

For JIRA OnDemand, is there a way to update a custom field based on a different custom field?

For example, if someone has selected Found in environment is Production, I want to change a custom field value to A

I know that for normal JIRA, I can use Javascript

https://confluence.atlassian.com/display/JIRA/Displaying+a+Field+Based+on+Another+Field+Selection

And for Post-script I could use Groovy script or Script runner.

But for JIRA OnDemand it seems these things are not available? Is there a way to do this for JIRA OnDemand?

1 answer

Hi Adrian,

Normally this kind of behavior is indeed implemented with some javascript. You can either add this to the description field of your custom field or upload your own plugin that provides the javascript as a webresource. However non of this is possible in JIRA on demand:

https://answers.atlassian.com/questions/77351/using-javascript-to-set-custom-field-values-and-html-tags-do-not-work-in-my-ondemand-jira

https://answers.atlassian.com/questions/185010/upload-add-on

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

243 views 1 18
Join discussion

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