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'?

1 answer

1 accepted

0 vote

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!)

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.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

113 views 0 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you