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

What permission is required to create ticket raiseOnBehalfOf using Service Desk API

Denmark Hinagpis
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 4, 2024

Hi, I'm trying to use the /rest/servicedeskapi/request API and would like my user to be able to request on behalf of the requestor for the API user. I can make a request if i am admin but what is the minimum permission required to be able to create the request to not get this error?

Request:

{  
    "serviceDeskId": "...",
    "requestTypeId": "...",
    "raiseOnBehalfOf": "<customer email>",
    "requestFieldValues": {
        "summary": "...",
        "description": "..."
    }
}

 

Response:

 

{
    "errorMessage": "You do not have permission to create requests on behalf of other users.",
    "i18nErrorMessage": {
        "i18nKey": "sd.request.create.error.permission.onbehalfof",
        "parameters": []
    }
}

1 answer

0 votes
Fernando Eugênio da Silva
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 4, 2024

@Denmark Hinagpis , Welcome to the Atlassian Community!

The minimum permission an user needs to have to change the reporter is based on 'Project Permissions', specially Modify Reporter permissions.

User with this permission are allowed to change the reporter while they are into your portal, the same permission it applies for REST API calls.

I would say to ensure that the user owner of the token has the Modify Reporter permission based on Project Permissions.

Any questions, please, let us know.

Suggest an answer

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

Atlassian Community Events