Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,025
Community Members
 
Community Events
168
Community Groups

How to create request based on customer from REST API

  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

Atlassian Community Events