Configuring workflow post functions in Jira
This page will guide Jira administrators in adding post functions to transitions in their project workflow.
The Connector provides two workflow post functions:
Create Salesforce Object
Push to Salesforce
The following steps are meant for classic Jira projects and NOT for next-gen projects.
This is because of the nature of the workflows. Next-gen projects do not have workflow schemes. They have a new workflow editor instead.
For more information please refer to the Atlassian documentation.
On this page: |
---|
Create Salesforce Object post function
This post function creates a Salesforce Object from the Jira issue. This is to automate the issue creation operation described in Creating a Jira Issue from Salesforce.
Important: If there is already an existing association (previously created), the post-function won't trigger.
It requires these parameters:
Connection - the name of the already authorized Connection.
Salesforce Object - the Salesforce Object the Jira issue should be created as.
To ensure the post function is operational, the following requirements should be fulfilled:
A binding from the Jira project (configured with this workflow) to the authorized connection should always exist.
A Salesforce Object should be configured as available for connection.
A mapping from the issue type to the Salesforce Object should exist for that binding.
Push to Salesforce post function
This post function pushes mapped issue fields of the Jira issue to associated Salesforce objects.
To ensure the post function is operational, the following requirements should be fulfilled:
An authorized Salesforce connection should exist.
A binding from the Jira project to an authorized Salesforce connection should exist.
A mapping from the issue type to the Salesforce object should exist for that binding.
Guide
For full instructions, we recommend visiting Atlassian's official documentation on configuring workflows.
In this guide, we'll create a Salesforce object when a Jira issue is created using post functions.
You may choose the transition of your choice and apply the same steps:
Go to > Issues.
In the sidebar, under Workflows, click on Workflow schemes.
Choose the project you'd like to customize, and click the associated Workflow.
Click the Edit button to create a workflow draft or resume editing a draft.
Then, choose a Transition. In this case, we'll choose Create.
On the next screen, click on the Post Functions tab.
Click Add Post Function.
Choose Create Salesforce Object or Push to Salesforce, then click Add.
On the next screen, configure the parameters if required. Click Done.
Remember to publish the draft.
If these post functions fail, the workflow transition will still be completed.