Hi,
I am trying to create a Jira issue(epic) from a Salesforce opportunity record automatically using the apex trigger using the below method.
JCFS.API.createJiraIssue('******', '10000');
I don't see any errors but the Jira issue is NOT being created.
I have completed the connection and binding accurately and I am able to create a Jira issue manually from Salesforce record page.
I am not sure what the issue is so reaching out for help.
Thanks in advance !
The `JCFS.API.createJiraIssue()` call depends on the Jira Cloud for Salesforce managed package and requires that the Apex trigger executes in a user context authorized to make Jira API calls. When you can create issues manually but not through a trigger, it usually means the trigger runs in system context without the connected user’s OAuth credentials. The integration user must be reauthorized under Jira Setup → Connections → Manage Connections in Salesforce, and the Apex execution context must have permission to call the JCFS API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.