Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to create request based on customer from REST API

Pawan Modgil June 17, 2019
  1. How we can create a customer request from API once that customer is created from API?
  2. This customer I have created form API (moudgizpawan@gmail.com) is showing active inside the project customer list.
  3. Password has been changed.
  4. I am successfully able to view this customer after login in

https://practice.atlassian.net/servicedesk/customer/user/profile link

 

 

But not able to post the request on behalf of this customer from the Rest API (Postman).

I have gone thru out from the below link and followed the instruction mansion on below link.

https://developer.atlassian.com/cloud/jira/service-desk/rest/#api-rest-servicedeskapi-request-post

 

I am sharing the Post request content for your more easy reference to get more clearance about the concern.

 

authorization part I have given the admin login credential that I have use during creation of customer.

header 'Accept: application/json' header 'Content-Type: application/json'

 

Body

 

{

  "requestParticipants": [

    "qm:eeedea8b-637c-4b16-af79-15f6042989af:f60eb2dd-cecf-4cdd-8910-9eae00d8b678"

  ],

  "serviceDeskId": "LP",

  "requestTypeId": "Task",

  "requestFieldValues": {

    "summary": "Request JSD help via REST",

    "description": "I need a new *mouse* for my Mac"

  }

}

 

 

Regards,

Pawan

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events