I've been doing some archeological digging in our Jira metadata, to streamline and simplify it and make JQL queries more reliable with consistent metadata use. There's a decade's worth of Jira tickets, so how things have been done has changed bit hither and thither
My current conundrum is the Component field and unnecessary/wrong values that have been added there over the years
The custom field is only used in one of our Jira projects. The locked "Component" does not give details where exactly it's used.
Hey @Laura Ruusuvuori ,
Welcome to Atlassian community!
I understand the scenario here and below are my suggestions to differentiate the system "Components" field with the custom field. The one locked in Fields will be your system field
https://<your_domain>.atlassian.net/jira/settings/issues/fields
components
in JQL.{prefix}-components
) will have a unique custom field ID and can be referenced in JQL as cf[xxxxx]
.components
vs. custom field IDs). Use the REST API (/rest/api/3/field
) to list all fields and their IDs for further investigation.
For the default “Component” field, values are managed at the project level:
Go to Project Settings > Components. Here, you can add, edit, or delete component values. Deleting a component will remove it from all issues in that project.
For custom fields, manage values via Jira Settings > Issues > Custom Fields > [Your Field] > Contexts and default value.
Only Jira Project Admins or System Admins can delete components from the default field.
I appreciate the manual effort here as Jira dont have a way to bulk update the field and screen configuration. I hope the above ideas will help you fix and make the Components in instance rightly configured.
Have a good day!
Regards
Chitra Nagdeo
Thanks, Chitra, exactly the info I was looking for :)
Looks like we have mostly been using the default Component field, so I'll probably check with that one project if they could move to using that as well. Seems like the path of least resistance.
And thanks for pointing me to the project settings, indeed I have now located the values we have been using and can remove the unnecessary ones. I probably would not have stumbled here for a good while on me own :D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Happy to help @Laura Ruusuvuori
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.