Personal Data Reporting API doesn't seem to be working? How to enable it for my JIRA app?

I checked the documentation and it says I’m supposed to enable the personal reporting API but there’s nothing in the app settings. I hit the API using Postman but the response is empty or errors out. Tried 2 different APIs.
POST https://api.atlassian.com/app/report-accounts/
And POST /rest/atlassian-connect/latest/report-accounts

This is a under-development app if that makes a difference. Thanks!

Attaching all screenshots in 1 image since I’m a new user and can’t upload more than 1 image:

(There are 2 different API URL calls attached here.
The API call on the left side is the response and NOT the body being sent to the request.
The API call on the right side is the body params being sent to the request. The response is 204 No Content.)

Hi @raj.negi1,

Welcome to Atlassian Developer Community! :slight_smile:

There was some issue from our side, which we have fixed it. You should be able to see “Personal data reporting API” in “APIs and Features”. Please enable that and proceed as you have been doing it.

Feel free to reach us out if you face any issues.

Cheers.

Hi @aagrawal2 !
What is the base URL for /rest/atlassian-connect/latest/report-accounts? I am trying to use my jira URL, but always have status code 403, when using https://api.atlassian.com it returns 404 status code. Do we use access token or JWT token for this request?

Hi @Yevgen

Welcome to Atlassian Developer community!

There are 2 ways of using personal data reporting API. It depends on what kind of app you have.

If you have a Connect app, you would want to use “/rest/atlassian-connect/latest/report-accounts” with JWT authentication. The base URL will be your site URL. For example, https://your-domain.atlassian.net

If you have a Oauth2 app (or 3LO app), you should be using “https://api.atlassian.com/app/report-accounts/” with Oauth2 authorisation code grants.

You can find out more details about how to use these APIs in our User privacy developer guide.

Thanks for reaching out. Let us know if you are still facing issues using these APIs.

Thanks for reply @aagrawal2, if I have Connect app, should I use only JWT token, or I need to generate access token for the user and authenticate with this token?
Because when I using only JWT I have 400 error.