How to assign a sprint from Salesforce

How to assign a sprint from Salesforce

Jira Sprint synchronization is not supported out of the box. If you want to synchronize Jira Sprint information when creating Jira work items from Salesforce, you can use this workaround if you know the Sprint ID.

 Instructions

Create custom fields in Jira and Salesforce

  1. In Jira, create a Number Field type and name it SF Field.
    For detailed instructions, see Create a new field | Atlassian Support.

  2. Add the field to the create and edit screens.

  3. In Salesforce, create a Number field type and name it Jira Sprint.
    You need to create the field under a relevant Salesforce object.

  4. Add the field to the Object page layout.
    For detailed instructions, see Salesforce Help.

Map the fields

  1. Map Jira work type with Salesforce object.

  2. Click Mappings to map your two custom fields under the selected entity mapping.

Create an automation rule

  1. Navigate to Settings > System > Global Automation.

  2. Click Create Rule > Create from scratch.

  3. Select the Field value changed trigger and search for SF Field.

    1. Under the Change type field, select Any changes to the field value.

    2. Under the For field, select Create work item and Edit work item.

  4. Click Next.

    2025-09-23_09-57-22.png

     

     

  1. Select THEN: add an action and select Edit work item.

  2. Click More Options without choosing a field.

  3. Paste the following JSON text:

    { "update": { "customfield_10020": [ { "set": {{fieldChange.toString}} } ] } }

     

  4. Click Turn on rule and publish the automation.

Now, we have the fields, the mapping, and the automation in place.

To update the field when creating a Jira issue from Salesforce, the numeric field that yo create in Salesforce must have the ID number of the sprint that you want to have in Jira. Please use the following Atlassian documentation to check how to find the ID of a sprint Identify Sprint ID in Jira Software Cloud | Jira and Jira Service Management | Atlassian Support.

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.