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/qva983
Is there any way I can do it with JIRA API?
Below KB article may help you.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.