Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Adrian Lai
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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
Deleted user 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
TAGS
AUG Leaders

Atlassian Community Events