Forums

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

Upload issue attachment using REST API via Logic App Json

Jairo Garcia Villarreal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 7, 2019

Hello community, 

I'm using a logic app to create incidents from a received email alert, so far everything looks good by creating the alerts, but I haven't find a way to add the attachments to those incidents.

Even when Logic Apps contains the Jira connector, that connector doesn't work for custom incidents forms, so I decided to use the HTTP connector which consumes the project api and uses the Json format for sending the creation request.

Capture.JPG

I discovered the template for usage that says that I could be able to use the parameter "attachment", but I don't find documentation about how to use it correctly or any example that provides some light on.

"attachment": {
"required": false,
"schema": {
"type": "array",
"items": "attachment",
"system": "attachment"
},
"name": "Attachment",
"key": "attachment",
"hasDefaultValue": false,
"operations": []
},

if anyone knows how to add the attachments using the Json schema, please let me know.

thank you.

1 answer

0 votes
Marcelo Almeida Hirota
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 10, 2022

Hey @Jairo Garcia Villarreal , were you able to make it? I am looking for the same thing...

Suggest an answer

Log in or Sign up to answer