The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Database way to how find all duplicate custom/system fields in JIRA

Dayanand
Contributor
August 19, 2021

1. May I know Database procedure to merge and remove custom fields without any side impact.

2 May I know Database procedure to merge and remove system fields without any side impact.

i.e how we handle removing both custom and system fields in faster manner since UI will take more effort. we have 200 duplicate custom fields.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 19, 2021
  1. There isn't a "merge" or "remove" procedure in the database.  You will need to run a large project to work out how to do it completely safely and without side effects, which is likely to be weeks or months of work, during which time you will not be able to use Jira.
  2. System fields cannot be merged or removed 

For merging custom fields, I would look to the apps in the marketplace designed for housekeeping and cleaning.   Power Admin and Optimiser are the first two I would take a look at (and note they'll help you simplify in other ways). 

If you want to do it yourself, then use a combination of the easier more simple UI bits and for the more onerous parts (mostly the merges), script it with the REST API - no downtime, no risk (beyond human error of doing the wrong thing), and very little coding needed.

Dayanand
Contributor
August 19, 2021

@Nic Brough -Adaptavist- 

May i know the REST API way to do this activity.