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:

  1. Click to expand "More options."
  2. Under Additional Fields, insert the code in the panel below, replacing:
    1. ProjectPicker with the name of your custom field
    2. 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.



Last modified on Jan 17, 2025

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.