Can someone please help me the code to add an attachment without issuekey. Using issue key the activity happens 2 times like first it is creating an issue then using issuekey it is uploading the attachment.
This i would like to avoid.
Also, i need help to setAffectedVersion in jira by using java programming.