I am working on an integration project between JIRA and another application X.
There are many Jira Issues generated by the application X. Jira should update the related application X records. The following is the scenario.
X Ticket 1 generated Jira Issue ABC-123. If the ABC-123 status changes, Ticket 1 will be updated and change its status. There will be many tickets in application X and each of them generates one Jira Issue.
Questions:
1. How many webhooks do I need to register for such project?
2. How can I tell which updates go to which ticket in application X?
3. Are there samples and guides? I have looked into many Jira documents. I am able to register webhooks and that is as far as I can go at this moment.
Please help.
Thank you,
Hello,
You can find info on how register a webhook here:
https://developer.atlassian.com/server/jira/platform/webhooks/
1. You could create one webhook.
2. You will get a payload from the webhook and you will be able to figure out the action and the issue.
3 https://developer.atlassian.com/server/jira/platform/webhooks/
Where am I supposed to find the webhook payload? Is it in JIRA or is it in application X?
How the payload generated from the webhook?
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A webhook is just a program, which fires on an event. It sends to the url you specified a request, which contains a payload inside. There must be your custom service on the other end of the url, which will catch the request of this webhook. That is actually a Rest Call.
How to find the webhook payload depends on the platform, on which you create your custom service.
You can find info about the payload in the links I provided:
Go to the Example: callback for an issue-related event part
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am able to register a webhook through REST from the Application X to Jira. But what is next for me?
Thank you,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to write an external program, which catches this webhook.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What do you mean an external program? The "external" program in Application X?
Are there any scripts, code, and or program be done in JIRA for sending update to ServiceNow?
Thank you,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In Jira your register a webhook. That is all you have to do in Jira. You need to develop an application in ServiceNow to process the request, which is sent from the webhook from Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.