Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I bulk rename JIRA issues?

Is there a way to bulk rename JIRA issues by e.g. replacing a word (sub-string) in the issue 'summary'?

3 answers

1 accepted

1 vote
Answer accepted

Not natively.  You can search for a sub-string (although the search is fuzzy), but not do a bulk-edit to change it.

I'd 'cheat' and write something in Script Runner to do the search and replace as a one-off.

So using Script Runner I could solve it? 

This would be used often for a task w. sub-tasks as a template task list. Can I have an input field in script runner for the task issue ID and execute the script then?

Yes, you can solve almost anything with Script Runner (in JIRA, Bitbucket or Confluence at least), but I thought that this was more of a one-off correction than something you'd do a lot.  I'm not sure there's a good use-case for doing this a lot, it feels a bit like a broken process.

But, I suspect you can still do it.  The latest versions of SR allow you to insert simple hooks into the interface as buttons.  I have only used them a bit, and I don't know if they can do the "input field" bit, but they can certainly trigger the scripts, and with a script, you can go read all sorts of stuff as input.  So I know you can get close.

(Apologies if this feels like an advert - I do work for Adaptavist, SR is one of our flagship products, and hence I use it a lot.  This really is one where SR feels right, and if I didn't work here, the only change I'd make to this answer would be to drop this comment about working here!)

Like Amanda Robinson likes this

Thanks, I'll test it out.

Maybe you could just change it in the database - that would save you the cost and effort of having to buy a plugin.

And potentially destroy your installation.  SQL on a JIRA database is to be avoided at all times.  Always use the API.  If you must use SQL, plan to shut it all down and take a backup before risking it, and then factor in the time for a full reindex afterwards.

There is a way to bulk edit (replace) issues summary, I use - via Jira Automation Plugin.

you just need to make automation rule (scheduled by cron for example)

add there jql query like in jira filters, and add the action, you need to perform - edit issue (change summary),

 and then start the rule manually, or wait until it starts automatically.

rule1.jpgrule2.jpg

 

Another way is to use script runner, as mentioned by Nic Brough [Adaptavist]  the idea is same.

Adding to what @Pavel Tyumenev mentioned above, we can just replace a text in Summary as below:

image.png

E.g.

Original Summary : "My Summary is - CLONE"

After Replacing: "My Summary is - SIT"

Nice hint with scheduled job, thank you Pavel!

For all the people who'd like to go on with this approach - keep in mind that if you have a notification scheme configured for your target project, this job will fire email notification on "issue updated" event for each issue you update this way.

Using the BULK import with CSV is working also. and take 5 minutes

Export the issues concerned, rename what is needed in the csv and import again... you will have to have admin rights for this

will that replace the issues or create new issues ?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

326 views 9 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you