How to update a project picker field using Automation for Jira
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
Learn to use automation to update fields of the project picker type.
Can't select project picker fields in the "Edit issue" action
The automation "Edit issue" action doesn't include "project picker" fields in the dropdown for selecting which fields to edit.
How to update project picker fields using automation
You will still use the "Edit issue" action, but will need to update the project picker field using JSON in Additional fields.
In the "Edit issue" action of your automation rule:
- Click to expand "More options."
- Under Additional Fields, insert the code in the panel below, replacing:
- ProjectPicker with the name of your custom field
- ITSM with the key of the project you wish to set.
{
"fields": {
"ProjectPicker": {
"key": "ITSM"
}
}
}
When the rule is executed, the custom field will be updated with the specified project key.