Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to set approvers while creating issue rest api

Ankit Sinha July 2, 2020

Hi

I am creating a JSD ticket using the create API. However, I am not able to see the Approver field.

While the API returns no error and the ticket is created, Approver is not set on the ticket.

This is the body I am sending:

{   "serviceDeskId":"7",
   "requestTypeId":"127",
   "requestFieldValues":{      "customfield_15846":{         "value":"CDN Services",
         "child":{            "value":"New Configuration"
         }
      },
      "customfield_15607":{         "value":"High"
      },
      "customfield_15910":"172.30.136.46",
      "customfield_15909":"",
      "customfield_15894":1,
      "customfield_15895":997,
      "customfield_15896":"Sysadmin",
      "customfield_15869":"BOT",
      "customfield_15795":[         {            "name":"5badbe291fa6b77b16764f29"
         }
      ],
      "summary":"Ticket with attachment",
      "description":"Ticket with attachment"
   },
   "raiseOnBehalfOf":"5cb5692f1e9af40e540c0f55"
}

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events