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

Adrian Lai May 7, 2014

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

0 votes
BenjiI
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 7, 2014

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