Unable to fetch XML file when logged out from JIRA site

sunitha b October 20, 2017

Hi need help here, thank you in advance.

I am trying to pull the JIRA data to XML by automating it. when i login to the site and give the below URL in new tab, i am getting the data, but when i logout and give the url i am not getting the XML file. 12345 in the below URL represents the filter ID.

https://JIRAURL:1234/sr/jira.issueviews:searchrequest-xml/12345/SearchRequest-12345.xml?tempMax=1000&pager/start=0&os_username=XXXX&os_password=XXXX

1 answer

0 votes
Maurice
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 20, 2017

Hi Sunitha,

It sounds like you are using Jira Server and not Jira Cloud.

On the Cloud side, we have removed this functionality for security purposes:

JIRA Cloud os_username and os_password embedded in URL no longer available

This functionality still exists on Jira Server, but will be removed soon due to the security risks it poses.

A better approach would be to use the Jira REST API:
JIRA REST API Version 2 Tutorial


JIRA REST API Example - Query issues

 

Best regards,
Brian

Suggest an answer

Log in or Sign up to answer