Hi,
Need to update Custom Fields for 4,00,000 issues/tickets in Jira.
What would be the best approach for doing this keeping in mind speed and Jira performance?
1) Jira REST API
2) CSV Import
3) Jira database update query
4) Plugin like ScriptRunner or CLI etc.
Thanks,
Rupa
@Rupa Jain Please, provide more details.
To be honest each way has pros/cons. But without details it's tellins fortunes by coffee grounds
Why do you say using CSV is 'too risky'? Risky in what way?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Sunny Ape Because I have seen many masters who forgets to double check the process on test instance especially encodings/delimeters/characters/formats, after I made fixing as consultancy work and restore from backup.
But it's simple way.
https://confluence.atlassian.com/adminjiracloud/importing-data-from-csv-776636762.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Gonchik Tsymzhitov ,
Here is some more info:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Rupa Jain ,
based on your proposed info.
I will do it via groovy. because I can update without updates, notifications.
And next one, you did not mention to the timeline and milestone, hence it's easy to make project by project
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
CSV import uses the REST API, so they're really one and the same thing.
Simple and free :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rupa - You can do this with the Bob Swift Jira CLI in one command.
Here's a how to article for exactly this use case: Set field value for issues in bulk using Jira Command Line Interface (CLI) in Jira.
FYI - I'm the product manager for the Bob Swift CLI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
Will it be possible to trigger update to 4,00,000 issues in one go/one input file or will I have to break it into batches?
Also, will it have any impact on Jira's performance?
And approximately how long will it take with this plugin po make such an update (say 5-6 Custom fields to be updated).
Thanks,
Rupa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can do it in one go. The performance impact will depend on your Jira configuration. That also goes for how long it will take: The CLI will execute as quickly as the Jira instance processes the request.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.