How to upload the attachment while creating the issue using rest api in jira cloud

Hi Team,
so we are creating jira issues using rest api , i want to understand how we can upload an attachment while creating the issue itself using the rest api.

so the current approach that we have is we create the issue using rest api , the using the newly created issue we upload the attachment using the rest api only… what we want is at the time of creating the issue only we should be able to attach the attachment. please help me how we can achieve it

1 Like