The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

TAGS
AUG Leaders

Atlassian Community Events