}
private Promise<Void> postAttachments(final URI attachmentsUri, final MultipartEntity multipartEntity) {
final ResponsePromise responsePromise = client()
.newRequest(attachmentsUri)
.setEntity(new MultiPartEntityBuilder(multipartEntity))
.setHeader("X-Atlassian-Token", "nocheck")
.post();
return call(responsePromise);
}