Advanced Bulk Edit for Jira supports using Jira expressions to dynamically set field values on existing work items.
About Jira Expressions
Learn more about Jira expressions in the following documentation:
-
https://developer.atlassian.com/cloud/jira/platform/jira-expressions/
-
https://developer.atlassian.com/cloud/jira/platform/jira-expressions-type-reference/
Using Jira expressions is an advanced way of editing fields and may require some technical knowledge. If you have trouble implementing your use case, please contact support.
Using Jira Expressions in Advanced Bulk Edit
-
Search for the work items you want to update in Jira and open Advanced Bulk Edit.
-
Use Add field to select a field.
-
Select the Jira expression operator and enter your expression.
-
Check the Field value preview and review your selection.
-
Click Start Bulk Edit.
Use the Field value preview to verify the result for each work item. You can filter the work items in the preview with JQL. Learn more in the JQL reference.
Bulk edits change existing work items. Check the selection and preview representative results, including empty fields, before starting the update.
Examples
You can use Jira expressions for many different field editing use cases. The examples below show some common patterns. Make sure the expression returns a value compatible with the destination field.
Copy the Value of a Field to Another Field
You can copy a value from one field to another on the same work item. For example, set a user field such as Contact person to the current assignee:
issue.assignee
You can reference custom fields by ID, for example issue.customfield_10012. For standard fields, use their Jira expression property names, such as issue.fixVersions.
Combine and Copy the Value of Multiple Fields
You can combine values from multiple fields into a text field. For example, build a description from the summary and component names:
issue.summary + "\n\nComponents: " + issue.components.map(c => c.name).join(", ")
Edit a Field if a Condition Is Met
Use a condition to update some work items while retaining the current value for others. For example, to keep the assignee on Stories and assign other work items to a specific user, replace ACCOUNT_ID with the appropriate account ID:
issue.issueType.name == 'Story' ? issue.assignee : new User('ACCOUNT_ID')
Dynamically Edit Date Fields
Set a date field to the current date and time:
new Date()
You can also shift an existing due date. This example adds seven days when a due date is present:
issue.dueDate ? issue.dueDate.plusDays(7) : null
Reference the User Doing the Bulk Edit
Use bulkEditUser to reference the user doing the bulk edit. For example, to use that user as the assignee:
bulkEditUser
Replace Assignees Based on Their Account ID
You can replace assignees based on account ID while keeping other assignees unchanged. Replace the example IDs with the relevant account IDs:
issue.assignee && issue.assignee.accountId == 'account_1' ? new User('account_2') : issue.assignee
Troubleshooting
Unrecognized Property
You may see the error “Unrecognized property” along with a list of available properties. Check the list for the correct property name. Jira expressions are case-sensitive: for example, use issue.assignee, not issue.Assignee.
If a preview returns an unexpected value, check for empty source fields, null values, and type mismatches. Resolve preview errors before running the bulk edit.
Limitations
Validation
Jira Cloud evaluates the expressions. Invalid syntax or runtime errors can prevent Jira from updating a field. Check the preview and ensure the result matches the destination field type before starting the bulk edit.
Supported Fields
Permissions and workflow restrictions still apply. You may not be able to edit read-only fields or fields that are not available on the edit screen. See the list of unsupported fields for Advanced Bulk Edit:
Currently Not Supported Fields for Advanced Bulk Edit for Jira