Forums

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

jira rest api upload files to make servicedesk visible

shadow.fang November 26, 2020

My jira version is 8.4.1
When I use restapi, I can successfully upload the file, but the attachment cannot be seen in the servicedesk
Is there any way to upload attachments to ServiceDesk so that customers can see this attachment
ps: The language I am most familiar with is Java

2 answers

0 votes
Dam - iDalko
Contributor
November 26, 2020

there is also a workaround detailed here : https://jira.atlassian.com/browse/JSDSERVER-43

"As a workaround, if you can turn on wiki rendering for comments, you can get attachments to display for the customer by putting wiki code in a comment when you upload the file.
[^some-file.pdf]"

Dam.

shadow.fang November 26, 2020

I will try this way
But I just checked the information, it seems that both rest api and servicedesk api can achieve this effect
I will try these two methods first
Thank you

Like Dam - iDalko likes this
0 votes
Dam - iDalko
Contributor
November 26, 2020

Hi, 

There is an add-on to do that, it also add a lot of features to your JSM project (Jira Service Desk has been rename as Jira Service Management)... the add-on is called : Extension for Jira Service Management
https://marketplace.atlassian.com/apps/1212161/extension-for-jira-service-management?hosting=server&tab=overview

cheers,
Dam.

shadow.fang November 26, 2020

I think it is not necessary to purchase a new plugin to complete this function...Thank you for your reply

Dam - iDalko
Contributor
November 26, 2020

this add-on has really a lot of useful and cool features, but it can display attachments in a "sexy" way also ;) 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events