What's is that application of yours ? Please give some more details. What is this url ?
One way to get it is using REST. The response contains download URL: https://docs.atlassian.com/software/jira/docs/api/REST/latest/#d2e2868
my application is GWT. But the rest api provides only the meta data of the attachment but i need the content of the attachment
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can fetch the attachment over REST, as Boris has said. And it's no good saying "CORS problem exists" without telling us what you think CORS means or what the problem is.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The metadata in the REST response contains content field:
And you can use this url to retrieve the contents.
"content": "http://www.example.com/jira/attachments/10000"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.