Post Functions
Once a connection is configured in the settings page, users can configure a Post Function on Workflow transitions to call a supported HR function. See this link for more information on customizing Jira workflows. Select OnLink AI in the list of available functions.
Configure Endpoint
API Endpoints are methods that can be configured for a given connection. Note that connections must be configured for post functions to work - see Connections tab for more info on how they can be set up.
Select connection
Function templates are provided by OnLink AI to make it easy for you to set up the endpoint. Please reach out to us (support@onwardb.com) if you don’t see a template to your system.
Select HTTP Method - usually GET or POST. You can use variable substitution e.g. {customfield_12345} to set values in either URL or HTTP Body (in case of HTTP Post). You can use Jira text or single select fields in variable substitution.
Enter the endpoint URL
The Configure Mapping section can be used to map API response to customfields in your Jira issue. You can map Jira text or single select fields. In below example, jsonResponse.id and jsonResponse.name are valid json elements in the API response. These fields can then be mapped to any customfield in the Jira issue.
Set the return status field - sets either “success” or error text