can I create a public link from an attachment file ?

Hi Guys, I'm working on an Android app and I'm using JIRA Api to get information of the issues.
I'm using this service:
Https://xxxxxxxx.atlassian.net/rest/api/2/issue/INM-111

And the api return URLs like this one for each attachment:
Https://xxxxxxx.atlassian.net/secure/attachment/13515/captura.png

I need to see an attachment in the app , but I can not because in the application I am not generating a session and so the file is not accessible.

Exist a process or action to generate this link as a public link ?

Thanks

1 answer

0 votes
Gerry Tan Atlassian Team Jan 15, 2017

If the issue INM-111 is publicly accessible, then the attachment link can be requested as anonymous.

You can log your user into JIRA via your app using Connect add-on / OAuth, this way you can request the attachment as him/her.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 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...

22,055 views 2 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