It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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
Community showcase
Posted in Jira Service Desk

How has Jira Service Desk increased productivity in your org?

Hi Jira Service Desk community, Atlassian is on a mission to unleash the potential of all teams, and we know that tools are just one piece of that puzzle. With Jira Service Desk, we have productiv...

187 views 0 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you