You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi all,
I was using the JIRA rest api to create the issue. I want to update the customer whenever someone added/ update a comment. For that purpose, I added an automation rule.
But I found out that no emails are sending whenever somebody comments.
Then from this post https://community.atlassian.com/t5/Jira-Service-Desk-questions/Automation-Rule-Notification-Action-Not-Sending/qaq-p/738762 , I understood that I have to change my request type to service desk.
Then I found out that there is separate service desk rest api https://community.developer.atlassian.com/t/whats-the-difference-between-jira-rest-api-and-jira-service-desk-rest-api/11009 but I could not find a proper example about create a ticket using service desk api.
Can some one please point me to the right direction.
Following example worked. (ref - https://docs.atlassian.com/jira-servicedesk/REST/3.6.2/?_ga=2.157320761.2089437250.1557061318-247648608.1537283601#servicedeskapi/request-createCustomerRequest)
rest/servicedeskapi/request
with json body
{
"serviceDeskId": "{your id}",
"requestTypeId": "{your id}",
"requestFieldValues": {
"summary": "Request raised via service REST API",
"description": "test."
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I know this is a bit late for you David, but for those that come across this thread wondering, it's the "raiseOnBehalfOf" field, e.g.
{
"serviceDeskId": "{your id}",
"requestTypeId": "{your id}",
"requestFieldValues": {
"summary": "Request raised via service REST API",
"description": "test."
},
"raiseOnBehalfOf": "sergey@google.com"
}
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.
Hi,
Whats the whole URL used for this? I guess this is just the last part of the URL rest/servicedeskapi/request
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.