Create custom field depending on other field value


I'm currently using Jira On Demand and I need to create a custom field "TEAM" automatically filled depending on the value of the issue Component.


I have Team A & Team B

I have 3 Components X, Y & Z

Components X & Y belong to the team A

Component Z to team B

if my issue component is Y, I want my custom field to be automatically set to "Team A"

How can I do that?

Thanks for your help.

3 answers

1 accepted


I was hopping a solution can exists with my configuration :-)

Thanks for the answers.

you can update the custom field value using script or you can write a post function to update custom field depending on other custom field/system field value

0 vote
Richie Gee Atlassian Team Sep 05, 2013

Hi there,

For on demand instance, javascript injection is not allowed and checking from my own demand instance, there seems to be no such post function to change a value of a custom field based on another field.

There are some plugins that might do the things you need but is only available for the JIRA self hosted.

Hope this clarifies, thanks :)

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...

147 views 1 17
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