Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.

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

I am trying to fetch the data from jira API where I am a jira Admin. I am getting 400 serer error.

Sachin Badiger February 6, 2025

I am trying to fetch the data by the below API end-point

 

api/2/issue/createmeta/[abc]/issuetypes

I am getting 400 server errors.
but the same endpoint with a different project just assumes it as "xyz" is working fine

api/2/issue/createmeta/[xyz]/issuetypes.

 

 

Also for the same project other end-points are working EX:

api/2/project/[abc]/workflowscheme

api/2/project/[abc]

 

I want to know why the API endpoint is not working for "abc" project

1 answer

0 votes
Marc - Devoteam
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.
February 7, 2025

Hi @Sachin Badiger 

Check the logs on the server running Jira.

As the API works for one project it should work for all.

Do you have the correct permissions on project ABC, are they different then on XYZ?

Sachin Badiger February 9, 2025

Hi @Marc - Devoteam ,

I have administrative privileges on the project ABC. However, I am currently experiencing an issue where I am unable to obtain a response from the API. I will proceed to check the logs on the Jira server for further insights.

Could the large number of issue types in the project ABC, which currently has over 250+ issue types, be impacting the API response? I would appreciate your guidance on whether this could be causing the issue.

Thank you for your assistance.

Marc - Devoteam
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.
February 10, 2025

Hi @Sachin Badiger 

Could be, the logs should provide more info.

Otherwise ty the API to search issues, then you can specify what the API should fetch more specifically.

Sachin Badiger February 10, 2025

Hi @Marc - Devoteam 

Is it possible to see the logs by ourselves or do we need to reach the Jira support team to see the error logs? Any reference would be appreciated if it is possible to find the logs directly.

Marc - Devoteam
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.
February 11, 2025

Hi @Sachin Badiger 

Yes. According to your tags you are running a DC. instance (so local install).

Log files are located on the server where Jira is installed, you would require access to the server.

Or ask the server admins.

Sachin Badiger February 13, 2025

Thank you @Marc - Devoteam for your support and response. I found the issue. 

The issue was I was a Jira admin on my ABC project but the configuration was only developers can create the ticket. Hence, I was unable to fetch the issue types. After adding my role as a developer it started working. 

Have a good day.

Like Marc - Devoteam likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events