I am trying to add attachment to JIRA cards using JIRA API, I’m referring below document for addAttachment API.
Headers as below:
X-Atlassian-Token:no-check
Content-Type:application/json
Request param: file=@C:/Program Files/CA/DevTest/Projects/CHARMR3_API/Tests/Results/get_hier_01_2018-07-05_negative.html
Content Type: multipart/form-data; boundary=--gc0p4Jq0M2Yt08jU534c0p
As expected API is returning 200 response code but no attachment added to JIRA card. No JSON response as well.
May be the boundary value I gave in contentType could be wrong. Attached is the HTML file needs to be attached, can anyone please suggest the solution?
I am able to perform few other updates using JIRA APIs mentioned in above shared link.
Hi,
How does CA DevTest relate your trial with JIRA cards? Do you use REST Invoke API in DevTest?
We can only find the location of "Request param"'s file seems DevTest installation path.
What version of DevTest are you using?
Could you please give us the detail information?
Thank you,