Hello Team,
How can we create a ticket (Issue) from one JSM Instance to another JSM instance using Webhooks?
If one issue is created in one instance the same must be reflected in another instance.
I have tried through Automation, and I am sharing the Automation rule where we are facing errors.
I have attached the screen shots where the Web Send Request Automation is working and the Incoming Web Request getting errors.
Any quick suggestions will be more helpful?
Thanks,
Hi @Jakeer
In you web request how is you issue date (payload) structured.
It seems you are not sending information, as the error states that on the create action there is no data for the field summary and this is always a mandatory field
Hello @Marc - Devoteam
Thanks for the Answer.
In the Send Web Request when i try to give the Web URL as
https://automation.atlassian.com/pro/hooks/a197df43e948e2fa188ea4a8a3ec05e208623567
I am getting Success in the Send Web Request and in the Incoming Web Request getting error as No issues from the Webhooks".
I am attaching the Screenshots of my Automation rule.
In the same URL if i add
https://automation.atlassian.com/pro/hooks/a197df43e948e2fa188ea4a8a3ec05e208623567 ?issue{issue.key} or ?issue:key=ABC I am getting error in the Send Web Request as 404 error or 302 error.
Can you please provide me the automation rule for Send Web Request and Incoming Web Request to create a ticket from one JSM Instance to another JSM Instance.
Thanks in Advance,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jakeer
What are the details of the Send Web request action in your automation rule?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Marc - Devoteam ,
Please find the Automation rule where I am sending web request to the another jsm instance using its URL.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In my first instance I am creating or updating the issue, and in the Send Web Request URL I have placed my second instance URL Where the issue needs to be created with same data. When I am creating or editing the issue in my first instance I am getting error as 404 or sometimes please specify the specific key or project id.
Can you please help with the exact automation rule where we when we create a issue in my 1st instance the same should be reflected in my second instance with same data.
Thanks in advance,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jakeer
You would need to use the custom option in the web request and specify the JSON.
You can use Issue Data (Jira format as example).
But you can't sent this to your other jira as is. The request specifies the issue data and to be created with all the same details as the original issue.
But do you have the same project in the other Jira does that project have the same ID, and this relates to issue type, fields etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are having the same issue types and fields in the other instance. Only the project name is different, and I tried using Jira format and also Custom data still getting the errors.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jakeer
You need to use the custom option.
The errors reported, are feedback that the JSON probably not correct.
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.