Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

does create issue allow us to pass attachment?

Abhishek Jaswal April 4, 2021

I am trying to create an issue. There is one field called Attachment. I am trying to pass one image URL over there but It is not working. So I am trying to understand whether we can pass attachment in create issue or not?

2 answers

1 accepted

0 votes
Answer accepted
Prince Nyeche
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 4, 2021

If you're asking whether you can add attachment during issue creation, then the answer is yes. You have a description field where you can add contents there. Otherwise, you should add the attachment field to the create issue screen.

Abhishek Jaswal April 4, 2021

Thanks for your quick response.

 

I am trying to create issue from Postman. So Do I need to attach the attachment in form data or I can directly pass the file path in attachment field.

Please let me know

Alex Medved _ConfiForms_
Community Champion
April 5, 2021

If you are using REST APIs to create an issue in Jira then to upload attachments you need to an extra call (request)

https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/issue/{issueIdOrKey}/attachments-addAttachment

AFAIK, you cannot do it in "one request"

Alex

Like # people like this
Abhishek Jaswal April 5, 2021

Hi Alex,

Thank you so much for confirming me that.

0 votes
Carlos Garcia Navarro
Community Champion
April 4, 2021

Hi @Abhishek Jaswal ,

You should be able to add an attachment when creating the issue, but you need to select a file though.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events