Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I need to add an additional common text ( heading of the parent issue) to all the subtasks.
I tried doing this with bulk edit, but bulk editing of 'summary' field is not allowed in JIRA.
I think JIRA should allow the bulk edit option for summary field ( only - 'add to existing text').
Community moderators have prevented the ability to post new answers.
If you're a Jira Admin, you can do this using CSV Import.
This is how I'd do it:
For more information on updating issues via CSV import, see this page - specifically the section Updating existing issues
Ste
I love you, @Ste Wright. This saved me a lot of time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi @Ste Wright
I have an error when importing the data. I just want to bulk edit labels, so I just map : Summary (as required one), Issue Key and Labels.
Here is the screenshot of the error. Please advise. Thank you.
Kind Regards,
Moyo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ismoyo,
Did you rectify this issue?
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stephen, hope you are doing well!
Thanks for detailed steps to edit Summary - I intend to correct summary of 4 user stories (screenshot attached)..
Followed the steps and tried to upload .csv file with Issue Key and Summary.. Under mapping, Summary is under "Summary" but for "Issue Key" - I couldn't find "Key" field in JIRA , option available is "Issue ID" - please find screenshot attached.
Should I select Issue ID ? Please advise, Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can I confirm which CSV Import tool you are using?
You need to use the latter for updates.
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nick Berger
Tested this and it works fine on our system.
What options do you see when trying to select from the list?
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stephen @Ste Wright
I tried your method with 2 tickets (thankfully) and the system created two (2) new tickets.
I only wanted to change summary field so in addition to "Key Issue" field I included "Summary" and two lines showing data for those two fields only.
I got two new tickets with a new Key Issue # and Summary that included the old Key Issue # and Summary data I provided.
Was I wrong in thinking that the system would update only the Summary data? if not, what do I need to do, please? We don't want new tickets - only the Summary field updated in the existing tickets.
TIA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can I confirm which CSV Import tool you are using?
You need to use (2) for updates.
If you are using (2), assuming this is for one Project, your CSV file will require the Issue Key you're looking to update, and the Summary field, at minimum.
You then need to ensure the Issue Key is aligned to the correct "Issue Key" field when mapping the fields. This mapping needs to be correct for an update to be made, rather than a new issue creation (which is the default otherwise).
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ste Wright thanks for replying - sorry for the delay in my response.
I've exported the tickets into a CSV file, changed the Summary field, and are using 'Import Issues from CSV'.
it's the Summary field that I need to change the data in - no other fields. Wondering why the Issue Key isn't sufficient to link the change.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you accessing the Import Issues from CSV via...
...?
If yes, this is the user importer, which can only create new issues, not import updates to them in bulk.
---
To perform updates, you'll need to use the Jira Admin Importer - you'll need to be a Jira Admin, and then:
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have a way of doing this that I think is even easier than the solutions above. I'm on Jira Cloud, so this might not work on Jira Server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Shiva Dainak and welcome to the community!
You can also use our Jira cloud app Advanced Bulk Edit for Jira to bulk edit the summary.
With our app you can:
Don't hesitate to contact our support if you have questions or feedback about Advanced Bulk Edit for Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You probably don't need this anymore, but I had this problem the last couple of days and I managed to solve it via custom automation.
Important: make sure to use the "Add value to the audit log" action in order to make sure that your code will work as expected. The changes that you will make are irreversible.
My case - I am migrating from Zendesk to JSM and I wanted to add the original Zendesk ID to the summary of the migrated Jira ticket. Here is what I did:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you have a ScriptRunner plugin, then you can create a Listener with it, which will do the job.
I did it this way:
The Listeners code do the job - when it is triggered it takes data from hidden field and put it into the system field, then do re-index. The Summary_hidden field is visible on the Bulk Edit page.
import com.atlassian.jira.event.issue.IssueEvent
import com.atlassian.jira.issue.IssueManager
import com.atlassian.jira.issue.MutableIssue
import com.atlassian.jira.event.type.EventDispatchOption
import com.atlassian.jira.issue.Issue
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.index.IssueIndexingService
import com.atlassian.jira.util.ImportUtils
import com.atlassian.jira.issue.fields.CustomField
Issue issue = event.issue
IssueManager issueManager = ComponentAccessor.getIssueManager()
def currentUser = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser()
MutableIssue issueMutable = (MutableIssue) event.issue
final String CUSTOM_FIELD_ID_FOR_SUMMARY_HIDDEN = "customfield_11900"
def customFieldManager = ComponentAccessor.getCustomFieldManager()
def cf = customFieldManager.getCustomFieldObject(CUSTOM_FIELD_ID_FOR_SUMMARY_HIDDEN)
String summaryValue = issue.getSummary()
String summaryHiddenValue = issue.getCustomFieldValue(cf)
String eventTypeName
if (event instanceof IssueEvent)
{
Long eventTypeId = event.getEventTypeId();
def eventTypeManager = ComponentAccessor.getEventTypeManager()
eventTypeName = eventTypeManager.getEventType(eventTypeId).getName()
//debug
//log.warn("SummaryChanger: eventTypeName=="+eventTypeName+" JRA_ID=="+event.issue.key)
//debug
}
else
{
return
}
def changeLog = event?.changeLog
def changeItems = changeLog.getRelated("ChildChangeItem")
Boolean IssueSummaryChanged = changeItems?.find{ it.field == "summary"}
Boolean IssueSummaryHiddenChanged = changeItems?.find{ it.field == "Summary_Hidden"}
//debug
//changeItems.each{log.warn("SummaryChanger: Items: "+it)}
//debug
Boolean needIssueReindex = false
if ((eventTypeName == "Issue Updated" && IssueSummaryChanged) || (eventTypeName == "Issue Created")) // filling the hidden field. if you need it.
{
issueMutable.setCustomFieldValue(cf,summaryValue) // копируем новое summary в скрытое поле
issueManager.updateIssue(currentUser, issueMutable, EventDispatchOption.DO_NOT_DISPATCH, false)
//needIssueReindex = true
}
else if (eventTypeName == "Issue Updated" && IssueSummaryHiddenChanged) // summary_hidden updated via bulk update (field is not on any screens, so bulk update is the only possibility to change it)
{
issueMutable.setSummary(summaryHiddenValue)
issueManager.updateIssue(currentUser, issueMutable, EventDispatchOption.DO_NOT_DISPATCH, false)
needIssueReindex = true
}
if (needIssueReindex)
{
def issueIndexingService = ComponentAccessor.getComponent(IssueIndexingService)
Boolean wasIndexing = ImportUtils.isIndexIssues()
ImportUtils.setIndexIssues(true)
//debug
// log.warn("SummaryChanger: Reindex issue ${issue.key} ${issue.id}")
//debug
issueIndexingService.reIndex(issueManager.getIssueObject(issue.id))
ImportUtils.setIndexIssues(wasIndexing)
}
I'm a newbie to the Java/Groovy, so, please do not blame me ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
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.