auto fill a custom field with specific values

Hi there,

I am searching a solution for my problem:

In JIRA, I am trying to configure a custom field that way, that it is automatically filled with a provided value, when in another field a specific value is chosen...

Example: In custom field "A" a specific company is choosen (select list). Custom field "B" now should be filled automatically with the responsible person for the company, choosen in field "A"

Any idea, if this can be done?

Thanks

Holger

4 answers

1 accepted

Thanks Peter, Chaithra and Oilspace.........

Your comments were quite helpful. I am playing around with it already. It looks, like this could be my solution :o)

br

Holger

Hi Oilspace Sysadmin,

thanks for your quick answer. An auto fill on issue creation would be a beginning :-)

Can you provide me with a link to a "postfunction howto"?

thanks...and have a good weekend

Holger

if you need this filling on create of issue - this easily can be done with postfunction in create transition
if you need this on editing of issue - it's more complicated

If the options in the CustomField A are very less, then you can use javascript.

But if the combinations are more, then you have do it with Post function (Note: This doesnot work on Edit action).

Other way is you can use Servlet & Jquery to meet your requirement - refer similar kind of post at https://answers.atlassian.com/questions/155690/using-jira-user-properties-to-prefill-custom-fields-on-create - This will work on all action

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

229 views 1 18
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