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

0 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

171 views 1 10
Read article

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