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

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

sathish naveen August 28, 2022

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:
{
    "serviceDeskId""2",
    "requestTypeId""2",
    "requestFieldValues": {
        "summary""Request JSD help via REST",
        "description""I need a new mouse for my Mac"
    },
     "raiseOnBehalfOf""Sathish" 
}

1 answer

0 votes
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 28, 2022

@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.

sathish naveen August 29, 2022

@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

2022-08-29.png

Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 29, 2022

@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
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events