I have a jira desk project and in the same server I have another jira project which we are using for our dev tracking. I am trying to automate when an approver approves the service desk request it should automatically create an issue in my dev jira project. The rest apis are exposed and they are working as I am able to create the issue using CURL command. Here is what my setup looks like -
1. In Jiradesk - Automation rule has been created. A webhook with the url and using the custom payload and custom payload is in Jason format.
2. Content type header is set
3. Checking logs it seems like the rule is getting executed successfully but it does not create the JIRA issue on the other project
Custom payload details -
{
"fields": {
"project":
{
"key": "PROJECTNAME"
},
"summary": "${issue.summary}",
"description": "${issue.description}",
"issuetype": {
"name": "Story"
}
}
}
@Anurag Mishra , the JSD webhook is designed to send events to third-party applications and plugins. I'm afraid that this is not possible as a straight HTTP callback to the same Jira instance.
If you are referring to the logs from your automation page, through the UI, it won't show failures in this case because your WebhookThenAction is running successfully. However, your actual logs should present the response status and message of your call - where you will certainly find more details.
I guess you still can make it work through os_authType but you would need to work through basic authentication - which would be a terrible idea since your credentials will navigate across the wire.
It is a typical use case implemented by lots of add-ons/apps that can address this for you. Anyways, have a look at these links that might help you with Webhooks
Cheers,
IL.
Thanks for your reply Ivan. quick question though any recommended plugin/add on you have to share?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, there are many options out there. Some are more focused on workflow features that give you the automation you're looking for as a post-function, whereas others bundle with lots more capabilities. As you know, you can give them a try to make a decision about which one suits best for you. Have a look at the Atlassian Marketplace Jira Service Desk Apps
Some quite popular that you can begin looking at
Cheers,
IL.
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.