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

This widget could not be displayed.

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

This widget could not be displayed.

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

This widget could not be displayed.

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

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

256 views 1 3
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