SAP Knowledge Base Article - Public

3161623 - Create Jira issues with a JavaScript Task in Signavio Workflow Accelerator

Symptom


Is there a possibility to create Jira Issues due the API of Jira with the Signavio Workflow Accelerator?



Resolution


With the JavaScript Task is it possible to connect to 3rd party systems.

You can use the following code snippet.

Please keep in mind. Signavio will not take any responsibility for the code. Please test it in a developer/test environment before use it in production system.


jsExample create Jira Issuetruetrue { if (error) { throw error } console.info(`HTTP ${response.statusCode} ${response.statusMessage}`) if (response && response.statusCode >= 400) { throw new Error(`Error: ${response.statusCode}\n${JSON.stringify(body)}`) } jiraIssueKey = body.key issueLink = `https://jira.example.com/browse/${body.key}` } request.post(requestOptions, handleResponse) ]]>


For Onpremise Systems you have to install NodeJS and Script-Engine.



Keywords

KBA , BPI-SIG-CA-API , REST-API for SAP Signavio , How To

Product

SAP Signavio Process Governance all versions ; Workflow Accelerator by Signavio all versions