Update Jira Issue automatically when Salesforce Record is updated
Create Record-Triggered Flow .
In Configure Start, choose the needed Salesforce object, select A record is updated under Configure Trigger.
In the Action element, choose Peeklogic Edit Jira Issue action.
Enter sObjectId: Record -> Id.
If an organization has multiple Automate Integrations for a single Issue Type of specific Project within a Salesforce object, employ the Peeklogic Edit Issue by IssueKey action instead of Peeklogic Edit Jira Issue. Prior to that, include two Get Records elements in the process.
The one is used to retrieve the record of Peeklogic Object Connect object and set filter: Name -> Equals -> Record.Id.
Next one – in order to get record of Peeklogic Jira Issue object and set filter: peeklogic_jc__Object_Connect_c -> Equals -> Get_Object_Connect.Id.
In Action element Peeklogic Edit Issue by IssueKey, populate values: automationId: Id of Automate Integration that is created in Peeklogic Setup. Create Automate Integration. executeAsynchronously: GlobalConstant.True issueKey: Get_Jira_Issue.peeklogic_jc__Issue_Key__c recordId: Record.Id
Match elements as shown below.
If a Salesforce object record is linked to multiple Jira Issues that require updates, perform the necessary modifications:
In the Get Records element of Peeklogic Jira Issue object select ‘All records’ and add this collection in the Loop element.
In Action element Peeklogic Edit Issue by IssueKey, edit value: issueKey: Loop_Name of Loop element.peeklogic_jc__Issue_Key__c