Im using this code to access project in my JIRA workspace. And it works.$ch = curl_init();curl_setopt($ch, CURLOPT_URL, 'https://XXX.atlassian.net/rest/api/2/project/');curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');curl_setopt($ch, CURLOPT_USERPWD, 'xxx@email.com' . ':' . 'token');
$result = curl_exec($ch);if (curl_errno($ch)) {echo 'Error:' . curl_error($ch);}print_r($result);curl_close($ch);But I want to access to this page via API:https://xxx.atlassian.net/secure/admin/CloudExport.jspa create a backup file and download it (check screenshoot)http://prntscr.com/qva983Is there any way I can do it with JIRA API?
Hi @Enes_Sijaric
Below KB article may help you.
https://confluence.atlassian.com/jirakb/how-to-automate-backups-for-jira-cloud-applications-779160659.html
It looks like you're new here. Sign in or register to get started.