Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


how to upload an attachment using REST API using java program

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.

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Aug 01, 2022

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,


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events