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.
Hi @Ratna Kumar ,
you need an issue key in order to add an attachment. You can do that after issue creation (as post process) through a post function or a listener.
Hope this helps,
Fabio
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.