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
Community Members
Community Events
Community Groups

unable to use raiseOnBehalfOf for creating a Service desk ticket for my customer

I am creating a Bot which would automatically create Service desk tickets on JIRA but while i am using raiseOnBehalfOf on my Request It provides me the following error

"You do not have permission to create requests on behalf of other users."
I will not be able to as our customers to generate an Api token for creating their ticket can any one help me fix this issue
Url : /rest/servicedeskapi/request
Request Body:
    "requestFieldValues": {
        "summary""Request JSD help via REST",
        "description""I need a new mouse for my Mac"

1 answer

0 votes

@sathish naveen -

Welcome to the community.  Can you verify that your customer "Sathish" already have an valid account in your JSM project env? If the custom is yourself (in this test case), can you see if you can create an issue via the portal UI on your own behalf?

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

@Joseph Chung Yin 

The user exists in the project but even if it exists i am unable to create a ticket on behalf of that user via API but via the Jira portal i am able to do that

could you please suggest a way for doing it from API


@sathish naveen -

Which account do you used to establish the connection with your API session?

Best, Joseph

Suggest an answer

Log in or Sign up to answer
Site Admin

Atlassian Community Events