Unable to fetch XML file when logged out from JIRA site

sunitha b I'm New Here Oct 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
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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,932 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot