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

Configuration Manager create Snapshot Rest API 504 Error

Richard Snyder November 12, 2024

All, I am using the REST API endpoint to perform a post to create a snapshot of a project in Jira.  I am creating the project with Issues.  When I do this my python script gets a 504 error, or timeout.  I look in the audit logs and see that the snapshot creation hasn't finished yet.  I can wait for the snapshot to be created and then it's listed in snapshots.  I tried setting my timeout variable to None (see below) but I still get a 504.  Is this a server side setting or something I can set in the code to wait until the snapshot completes creation?

snapshot_configurations = {
'name': 'Test Project Snapshot',
'description': 'Here we go',
'scope': 'projectWithIssues',
'projectKey': 'PROJ',
'includeProjectFilters': True,
'includeProjectBoards': True,
'includeProjectDashboards': True,
'options': {
'includeAttachmentFiles':True
}
}

request.post(<jira url>/rest/configuration-manager/api/1.6/snapshots, data=json.dumps(snapshot _configurations), timeout=None, headers=headers, verify=False)

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 28, 2025

Hi @Richard Snyder ,

it seems a server issue (network or proxy issue). Could you provide more information?

Fabio

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events