How do I add 2 custom fields in an issue that are coupled to each other?
For example:
The fields are 'Employee name' and 'Expertise'. When I add the 'Employee name' field the 'Expertise' field also appears.
Additionally, I'd like to use a dropdown for 'Employee name' (dropdown uses a list of names that I can add to separately). 'Expertise' allows free form text.
Is this possible on Jira?
How are you trying to maintain your setup, are you tracking your employees via individual issues (i.e. one issue for Bob's record, and another issue for Mary's record)?
If, so -
Out of the box, you will need to create custom fields for your env (assuming you have the site admin rights) -
1) "Employee name" - Typically, it should be a user picker data type (single user or multi-users). By default it pulls from your env on all the licensed users accounts automatically. So as long as you manage your users properly in the env, then you should be good to go). It is already a dropdown list format for the data type by default.
2) In addition to point #1, if you need to manage the dropdown list and not use the user picker data type, then you need to create the field using single select/multi-select dropdown list data type. You will have to manually update the dropdown list options every time a set of users needs to be added to the field. (This is done vis Systems >> Issues >> Custom fields UI)
3) "Expertise" can just be a single line of text data type.
In regards of showing both fields where when you populate the "Employee name" field then the "Expertise" field will be displayed. You will need to acquire third party add-on to implement the functionality. By default out of the box, it is not possible.
You can take a took at Scriptrunner for Jira and Scriptrunner for Jira's Behavior component. To use Scriptrunner for Jira's Behavior component add-on, you must have Scriptrunner for Jira add-on first.
https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?tab=overview&hosting=cloud
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Technology Applications Team
Viasat Inc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.