Trigger a REST API call after ticket creation

Hi,

We need to integrate SNOW and JIRA. So some best practice would be great.

What we are trying to accomplish is to:

  1. Click on a link in SNOW → SSO open JIRA to create a ticket with parameters passed from SNOW
    2.Fill in JIRA ticket creation form
    3 Update SNOW with JIRA ticket ID and some other data via REST API call to SNOW

We need advice on third step.

Thanks in advance!

I’m not sure I know what SNOW is. Can you provide a link to their API documentation?

Is there something on the Jira issue created that indicates that it was from the SNOW integration?

If so, you should be able to use webhooks to listen for the issue creation event and then make a call from your app to SNOW to update whatever you need to:

A webhook is a user-defined callback over HTTPS. You can use Jira webhooks to notify your app or web application when certain events occur in Jira. For example, you might want to alert your remote application when an issue has been updated or when sprint has been started. Using a webhook to do this means that your remote application doesn’t have to periodically poll Jira (via the REST APIs) to determine whether changes have occurred.

via https://developer.atlassian.com/cloud/jira/platform/webhooks/.

I would also take a glance at building a Forge app: About Forge. Similar to webhooks, you can listen for specific events and have your Forge app take an action: https://developer.atlassian.com/platform/forge/events-reference/jira/.

Hi Bentley,

Thanks for you response

SNOW is a ServiceNow application https://www.servicenow.com/
We have explored web hooks and it doesn’t not seem like a secure way by SAP.

We would need something with at least basic auth or OAuth to call SNOW REST API after JIRA issue is created.

What would be the best way to do that?