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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

767 views 2 19
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