Hi Make community ,
I’m building an automation to create ir update Jira tickets based on events from Salesforce.
The main issue I’m facing is that I can’t dynamically update select-type fields in Jira with values from Salesforce. I’ve tried using the built-in Jira module and even creating a custom module, but haven’t been able to map the Salesforce values correctly to Jira’s select fields (which expect IDs, not labels).
Full Context
My automation flow involves:
- Salesforce to Jira:
- I’m using Salesforce to trigger the event when a new or updated Opportunity record is created.
- I collect the required Salesforce data (such as “Opportunity Name”, “Deal Stage”, Campaign Type" and other relevant fields).
- Jira Ticket Creation/Update:
- Based on the Salesforce event, the goal is to create or update a Jira ticket. The ticket creation involves mapping fields such as “Opportunity Name” to the Jira summary, and some custom fields (which are select-type fields in Jira).
- The main issue lies in select-type custom fields in Jira. These fields in Jira are dynamically populated with values that may change depending on the data from Salesforce, so I need to dynamically assign the correct value (by ID) to these fields.
- The Challenge:
- The Make/Jira integration modules don’t seem to allow dynamic mapping of values to select-type fields from Salesforce. They work well with static or predefined values but don’t let me assign a dynamically fetched value from Salesforce to a Jira select field.
- I’ve tried using the built-in Jira “Create Issue” module, but when attempting to dynamically assign a value to a select field (e.g., “Campaign Type”), I get errors, because Jira expects the ID of the value in the select list, not the label.
What I’ve Tried:
- Custom Jira Module: Tried creating my own module to interact with Jira’s REST API, but faced with API errors.
- Direct API Calls using https request module : I’ve tried using Jira’s REST API to update select fields dynamically with Oauth 2 app, but I can’t get to connect it. The Jira documentation is a NIGHTMARE
What I Need Help With:
- Dynamically Mapping Salesforce Values to Jira’s select fields.
- Best Practices for Using Jira’s API to handle these fields.
I’ve attached my Make Blueprint and screenshots below for more context.
[Insert Blueprint Screenshot Here]
blueprint (18).json (336.7 KB)
[Insert Example Jira Screen Here]:
I hope someone can guide me or share insights on how to make this work. LMK if you need more infos!
Thanks in advance!