Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Issue Accessing Story and Epic Data via Jira API During Marketplace App Review

hasanozdisci
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 2, 2024

We are currently in the process of developing a new application for the Atlassian Jira Marketplace. Our application interacts with Jira's API to retrieve user data, tasks, issues, epics, and stories. During our internal testing environment, everything functions correctly, and we are able to access all required data without any issues. We receive the expected 200 status codes from the Jira API, and all relevant data (including stories, epics, etc.) is returned as expected.

However, during the review process for publishing our application on the Atlassian Marketplace, we encountered a problem. Although the Jira API returns a 200 status code during the Marketplace review tests, we are unable to access specific data related to stories, epics, and similar issue types.

We would like to understand why this discrepancy is occurring during the review process, and how we can resolve this issue to successfully pass the review and publish our application on the Marketplace.

We logged the JQL query that our application uses to retrieve data, and as shown in the attached image, the query returned no results during the Marketplace review.

When we manually enter the same JQL query into the Jira application’s filter section, the expected data is returned correctly, as shown in the second attached image.

 

jql.png

 

 

result_from_jira.png

1 answer

1 accepted

0 votes
Answer accepted
Deniz Oğuz - The Starware
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 2, 2024

Hi,

The response you get from the Jira JQL search can be different than what you see on the UI if you are using asApp() in your API calls. App may have a different permission than normal Jira users.

hasanozdisci
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 2, 2024

Hi,

Yes, I use the asApp() method for calls within the application. I will change these to asUser() and start the process again.

If I do not encounter any issues during the remainder of the review process, I will mark this as the accepted answer.

Thanks for your support.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events