Hi Team,
We are currently testing Jira Advanced Roadmaps and have decided to change the terminology of the issue type from “Epic” to “Feature” across the entire system.
We have successfully updated the terminology in our boards and other areas. However, when we accessed the agile board filters (we have not yet checked other filters, such as dashboards or personal filters), we encountered a message stating: “The value ‘Epic’ does not exist for the field ‘issuetype’.” (Please refer to the attached screenshots for your reference).
Given that we have thousands of filters, my question is: Is there any option to globally replace all filters of “Epic” with “Feature” in the entire Jira system? Specifically, is there a ScriptRunner script that we can run in the console?
Hi Lakshmi,
ScriptRunner could help. To do this, you would need to follow the steps below. I have given steps for both Jira Cloud and Data Center.
Data Center Steps:
For Jira Data Center, you would need to write a script to get the filters your user has permision to see using the Find all filters HAPI API.
You would then need to loop over each filter returned and call the Update existing filter Rest api for each filter to update the JQL for each filter.
Jira Cloud Steps:
For Jira Cloud you would need to write a script to get the filters using the Search for filters API.
You would need to loop over each filter returned and call the Update filter API for each filter to update the JQL query.
I don't have a script to do this, but if you need help with it, please raise a support request so the ScriptRunner support team can assist you.
I hope this information helps.
Regards,
Kristian
Hi @Kristian Walker _Adaptavist_ Thank you for your response and the related documents. We are currently using the DC platform, and I would like to know how we can use these scripts to implement changes globally.
My requirement is that we have thousands of filters, and my question is: Is there an option to globally replace all instances of "Epic" with "Feature" across the entire Jira system?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lakshmi,
There is no way to do it globally via ScriptRunner, unfortunately.
This means using ScriptRunner, you would need to write a script that loops over each filter and updates it as I suggested.
It may be possible to write a script via the database to find all filter values and bulk update them, but you would need to ask your organisation's DB admin about this, as I cannot advise on this.
Regards,
Kristiam
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.