Unable to fetch XML file when logged out from JIRA site

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

This widget could not be displayed.
Brian Cohen Atlassian Team Oct 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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

137 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you