Use Jira Edge Connector (JEC) with Jira Automation
Before you begin
To manage Jira space automations, you must have the appropriate space permissions:
Company-managed spaces: You’ll need the Administer space and Browse space permissions for your space. Learn more about permissions for company-managed spaces
Team-managed spaces: You’ll need Administrator app access for your space. Learn more about permissions for team-managed spaces
Team automation: You’ll need Admin role in operations to access team automation. Learn more about member roles in operations
To manage global automations, you’ll need the Administer Jira permission. Learn more about global permissions in Jira Cloud.
This action is only available on Jira Service Management Premium and Enterprise plans.
Integrate with Jira Edge Connector to run scripts using automation
Go to Automation and select Create flow.
Select the Run script using Jira Edge Connector action for your flow.
Select Connect to create a connection with Jira Edge Connector. Connections allow your automation flows to make changes in other tools and products.
Enter a unique name for your API key and select Create API key.
Copy the API key you created and add it in the
apiKeyfield in your Jira Edge Connector configuration file. Read more about configuring JEC.Enter name of the action mapped to the on-prem script you want to run. This is found in the
actionMappings → mappedActionfield of your JEC configuration file.Add key-value pairs you want to include in the JSON message sent to the on-prem system. Jira doesn't validate your key-value pairs, so make sure you verify them.
Save your flow.
You can use the same API key across multiple flows. However, removing your API key will cause all automation flows using the API key to stop working.
This action supports waiting for response (only for Enterprise plans)
When enabled, the flow will resume only if JEC returns a success response within 15 minutes. Else, the flow will fail.
You can choose to resume the flow even on failure response, which means even if JEC doesn’t return a success response within 15 minutes, the flow will resume anyway.
To access the payload from JEC, use the jecAction.output smart value.
Was this helpful?