Forums

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

Add reporter in rest API

Alixanne FERAUD
Contributor
June 13, 2024

Hello,

can someone help me with my post because i saw it's possible to add a reporter but it doesn"t work here !

it's working with request participant, but not with reporter ! :( so sad...

thank you

 

 

POST : https://<DOMAIN>.atlassian.net/rest/servicedeskapi/request

Body: JSON

 

{
    "requestTypeId": "80",
    "serviceDeskId": "6",
    "reporter": [
        "<ID of the reporter>"
    ],
    "requestFieldValues": {
        "description": "test test test",
        "summary": "Access request for USER XX",
        "customfield_10272": {
            "id": "11006"
        },
        "customfield_10394": {
            "id": "10927"
        },
        "customfield_10465": {
            "id": "11087",
            "child": {
                "id": "11369"
            }
        }
    },
    "isAdfRequest": false
}

1 answer

0 votes
Alex Koxaras -Relational-
Community Champion
June 13, 2024

Hi @Alixanne FERAUD 

I dont think that reporter get [].

Try this: 

"reporter": { "id": "5b10a2844c20165700ede21g" }

Of course replace the above id with your id.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events