Forums

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

Add link to attached file in comment JIRA

Paska
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!
December 22, 2021

Hello

I'm able to attach file to Jira issue using this command:

"curl -D- -u {username}:{password} -X POST -H "X-Atlassian-Token: nocheck" -F "file=@{path/to/file}" http://{base-url}/rest/api/2/issue/{issue-key}/attachments"

But I can't find any example how to add link to attached file in comment via jira api using curl.

How I can achieve this?

0 answers

Suggest an answer

Log in or Sign up to answer