I have a custom field called Client Name. I would like to auto-populate another custom field called Client Code based on the value in the Client Name field. Is there a way to build a database table containing client codes?
Hi, Kay. When do you want to set this value? On creating the issue?
If it is the case, you can do it with post functions and the JIRA Suite Utilities plugin, here:
JIRA Suite Utilities: https://marketplace.atlassian.com/plugins/com.googlecode.jira-suite-utilities
Simply install the plugin and then, when creating a post function, you will have the "Copy value from other field" option. You can use this on the 'Create' transition, to copy on creation, or on any other transition.
If you want to set the field on already created issues, you will probably need to use SQL on the database. This is something more advanced.
I hope it was helpful.
I want the Client Code value to auto-populate when data is entered into the Client Name field. The Client Code is unique for each client. The Client Code would not be an existing value, it would be a new value that does not exist in the ticket.
Hi, Kay. I'm not sure exactly how, but I think you can accomplish that with post functions: https://confluence.atlassian.com/display/AOD/Advanced+workflow+configuration. Give it a look and see the ones available. Cheers!
Well, in general you can only set fields automatically on transitions. So, if you want to do this during a transition, there are post-functions that allow you to copy values from a field to another. I'm not sure if an add-on won't be necessary, depending on the situation and the environment, you should check the available post-functions.
Otherwise, you can give 'ScriptRunner' a try. It may also help in this case.
You can read about post-functions here:
Hi All, I too have a similar requirement to auto populate a drop down with list of values based on another dorp down custom filed.
If the first filed value is EI, then the second drop down should list all the EI defect types like CR & PR. And if the first filed value is PD, then the subsequet dorn down should list only the PD defect types.
Please let me know, how to achive this in JIRA ?
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
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!
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