Forums

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

500 Response code from API call - Page Unavailable

Manimaran Sundaramurthy
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!
July 27, 2020

Hi There,

I'm trying to get the issue details for the given board id from Jira cloud and getting 500 error response for the API call. Please find below the sample python code snippet i used to retrieve the data.

Note: I'm getting this error for the board id's issue total count is above 1000

###################################

url_api = 'https://****.atlassian.net/rest/agile/somenumber/board/someboardid/issue/'

uid = 'someuser'

token='sometoken'

response = requests.get(url_api,auth=(uid, token))

json_data = response.json()
total = json_data.get('total') # getting the total number of issue's for the given board id

new_api = url_api+"?startAt=0&maxResults="+str(total)

response = requests.get(new_api,auth=(uid, token))

out_response = response.content

###################################

when I execute the above code it returns the below error with response code as 500. Can someone help me to get all the issue's of the given board id. Also I'm calling the API in for loop the retrieve the issue data for list of board id's.

 

Error:

<h1>Page unavailable</h1>
<div class="aui-page-notification-description">
Please check <a href="https://status.atlassian.com">Atlassian Status</a> for any known issues.
<br />
If your page hasn't appeared again in 5-10 minutes, please contact our support team.
</div>
<br>
<p>
<a href="https://status.atlassian.com" class="aui-button aui-button-primary" style="width: 175px;">
Atlassian Status
</a>
&nbsp;
<a href="https://getsupport.atlassian.com/servicedesk/customer/jst" class="aui-button">
Contact support

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events