Skip to content

Commit

Permalink
Update client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
guitarhero23 authored and ssbarnea committed Mar 1, 2018
1 parent d002e25 commit 8c79bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jira/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2573,7 +2573,7 @@ def reindex(self, force=False, background=True):
def backup(self, filename='backup.zip', attachments=False):
"""Will call jira export to backup as zipped xml. Returning with success does not mean that the backup process finished."""
if self.deploymentType == 'Cloud':
url = self._options['server'] + '/rest/obm/1.0/runbackup'
url = self._options['server'] + '/rest/backup/1/export/runbackup'
payload = json.dumps({"cbAttachments": attachments})
self._options['headers']['X-Requested-With'] = 'XMLHttpRequest'
else:
Expand Down

0 comments on commit 8c79bd1

Please sign in to comment.