Hello!
I am using jira api with php. I am using basic authentication with username and token.
I am getting all filtered issues as i needed using following url.
$url = "https://myProject.atlassian.net/rest/api/2/search?jql=project = LIST AND status = 'Go Live'";
But for attachments i need to make saperate call for each issue. i.e.
$url = "https://myProject.atlassian.net/rest/api/2/issue/LIST-135";
It gives me attchement details of issue but i can not download attachment. I want to save attachments to my server.
I have tried following url
$url = "https://instance.atlassian.net/secure/attachment/<id>/<name>"
Am i missing somthing or dowing anything wrong stpes? Please suggest.
How can open attachment to browser or download attchment? Please provide suggestions.
Thanks
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.