can someone please suggest the jsonObject format in below code, to mark one issue as duplicate of other in JIRA .
StringEntity entity = new StringEntity(jsonObject.toString(),ContentType.APPLICATION_JSON);
HttpUriRequest request = RequestBuilder.put()
Dear @Shal ,
User the REST endpoint: POST /rest/api/2/issueLink
The JSON data looks like this:
To get all possible link types use GET /rest/api/2/issueLinkType
Thanks a lot @Thomas Deiler.
It's working. I was using PUT method instead of POST.
I want to update "Status" and "Resolution" field as well, is it possible with suggested JSON update and REST endpoint: POST /rest/api/2/issueLink .
Or I have to do new HTTP request with new JSON and REST endpoint.
Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events