Why can not I download attachment via URL like "jira.com/login.jsp?os_username=xx&os_password=xx&os_destination=/secure/attachment/10000/attfile.txt"

I tried to use the URL as title mentioned,

But it is just redirected to dashboard.

Have any one tried this way to download attach?

Why it redirected to dashboard?

2 answers

1 accepted

This widget could not be displayed.

I tried a lot of times with different type of file.

I found all attach could be downloaded except file which named with blank in the middle.

I used "new 1.htm" to test download, every time to access via OS_DESTINATION, the page will be redirected to dashboard.


This widget could not be displayed.

Do you have permission on the issue from where you are trying to download the attachment? First try logging into the issue using the user interface and check whether you can access the attachment.

Thanks for your comment.

Yes, the user does have permission to download it.

I used seem user to create issue and upload attach.

I can download it from issue page.

But i can not use such redirect to download it.

Is there any limitation for OS_DESTINATION?

What is very interesting is: I can use OS_DESTINATION to access issue page, admin page and a lot of other pages but attach downloading link.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

142 views 16 7
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