How to bulk-change issue summaries with Power Scripts

Automation

Governance

Workflow & process efficiency

Workflow and Automation

Migrate and Manage

Atlassian

What’s it handy for?

Power Scripts is a Swiss Army Knife that can help you customize Jira to your needs by building advanced automations with easy-to-use SIL (Simple Issue Language). In this video, we’ll show you how to make bulk updates to fields with one short script, using ready-made Script Snippets (short snippets of code).

  • Save time: Instead of making manual updates, perform tasks at scale.
  • Reduce errors: Bulk changes ensure that no manual errors can slip in.
  • Turbocharged automation: Ready-made scripts can be customized your scenario.

To get started

  1. Open the SIL Manager – your central repository where all scripts are stored in a file system.
  2. Start building your script with the “Bulk change issues” Script Snippet
  3. Customize your script with the “[Current Issue] Subtask” Script Snippet
  4. Once you’re done customizing the script, save it and test it.

Example script

const string jql = "project = HP"; // change the JQL to match your reality 

for(string k in selectIssues(jql, 100)) { // select first 100 issues 

    for(string s in subtasks(k)) { //iterate over subtasks of current issue

        %s%.summary += "[H1 Planning]";

    }
}

Learn more about Script Snippets in the product documentation.

Prep

10 minutes

Skill level

Beginner

Results

Bulk-update fields in Jira

Build for

Jira admins that want to make bulk-updates