Bulk rename

Arnold Wender
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 6, 2020

Hello community!

 

Is there a way to bulk rename Sub-Tasks? When I clone an Issue all cloned Sub-Tasks are created with the prefix "CLONE -" I tried to bulk edit like this but nothing happens:2020-05-06_16-33-02.jpg

 

2020-05-06_16-37-03.jpg

2020-05-06_16-39-40.jpg2020-05-06_16-42-31.jpg

 

Thanks

 

 

 

 

 

 

1 answer

1 accepted

1 vote
Answer accepted
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 6, 2020

Hi @Arnold Wender 

Welcome to the community.

If you go to settings > system>general configuration >advanced setting > you can change the "jira.clone.prefix" from "Clone" to something else.

In your screen it look like you are updating the label field.

You can't rename the summary using he bulk update. You can try using some script (API or addon)

Hope this helps.

Arnold Wender
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 6, 2020

Hi Mohamed,

Oh I see, so, once I have cloned several Tasks (700) I can't bulk edit his prefix without a script? Is there any script you can recommend?

Thanks!

Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 6, 2020

I will go with python, there is a jira module

https://jira.readthedocs.io/en/master/

I'm not a coding expert but i just test this and it's works :

from jira import JIRA
jira_cloud = JIRA(basic_auth=(login,"API token"), options={'server''your URL'})
issues_Jql = 'project = "your project"' #this is your JQL
my_issue = jira_cloud.search_issues(issues_Jql)
for i in my_issue:    
i.update(summary = i.fields.summary[
5:])

here the link to create your token for cloud :

https://confluence.atlassian.com/cloud/api-tokens-938839638.html 

Like Arnold Wender likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events