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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,774 views 18 21
Read article

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