When i try to add document to issue by postman,
I get this message:
{ "code": "UM9999", "details": null, "message": "An unexpected problem occurred."}
Hi @aatestuser
The API is
curl --request POST \
--url 'https://your-domain.atlassian.net/rest/api/3/issue/API-1/attachments' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'X-Atlassian-Token: no-check' \
-F "file=@myfile.txt"
The header 'X-Atlassian-Token: no-check' is a must and make sure you pass it when you send the request.
And path, you can give full path or relative path. The should be followed after @ symbol.
Thanks,
Pramodh
Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.
Register today!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.