User with customer permissions does not see own request via REST

Atlassianist July 28, 2023

Hallo, 

i have created a new user who should work via REST in our JIRA Service Management (DC) instance. 

If the user logs in, he sees the project and sees the tickets

If I make a REST query "https://JSM-URL/rest/servicedeskapi/request"

I get the following JSON:


{
    "size"0,
    "start"0,
    "limit"50,
    "isLastPage"true,
    "_links": {
        "base""JSM-URL",
        "context""",
        "self""JSM-URL/rest/servicedeskapi/request"
    },
    "values": []
}

Why does REST not delivery the requests?

The same with the queues of the project:

https://JSM-URL/rest/servicedeskapi/queues/PROJECTID


{
    "errorMessage""Sie sind nicht berechtigt, auf dieses Serviceprojekt zuzugreifen.",
    "i18nErrorMessage": {
        "i18nKey""sd.agent.servicedesk.error.project.nopermission",
        "parameters": []
    }
}

The user has the role "customer" ...

Thank you very much.

Istvan 

 

 

1 answer

0 votes
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 28, 2023

Hi,

Did the user create at least one issue ? the first api will show all the request he has created. The second API is for the agent and not the customer so he cannot access to this endpoint.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events