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

how to pass attachments for REST API web request

gayan ganepola August 27, 2020

Hi,

I'm trying to integrate Jira with fresh service using automation.

I wanted to add public attachment/s uploading each time to the ticket.

here is the sample provided by fresehserivce.

curl -v -u user@yourcompany.com:test -F "attachments[]=@/path/to/attachment.txt" -F "body=this is a sample reply" -X POST 'https://domain.freshservice.com/api/v2/tickets/27/reply'

https://api.freshservice.com/#ticket

how can I do this is in the Custom data area(using send web request control)

. fresh service is expecting an array  of attachments.

 

0 answers

Suggest an answer

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

Atlassian Community Events