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

Is there any rest api available for getting customer requests raised on behalf of other customers?

KUMARESAN MUPPIDATHI May 23, 2020

I want rest api for getting requests of particular customer by passing his email id or account id.

Is any api available?

 

Quick help on this would be great.

1 answer

1 vote
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 27, 2020

Hello @KUMARESAN MUPPIDATHI

Welcome to the Atlassian community!

Per your description, I understand that you want a REST API to return all the issues where the reporter is a specific user, however, the creator is a different user. Is that correct?

You can use the following REST API call to return this information, replacing the {AccountId} with the current account Id of the user:

GET rest/api/3/search?jql=reporter+=+{AccountId}+AND+creator+!=+{AccountId}

The call above will return all the issues where the reporter is the user you want, however, that same user is not the creator.

For more JQL examples in REST API, please check the documentation below:

Jira REST API examples 

Let us know if you have any questions.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events