Forums

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

Copying file attached in JIRA ticket to NAS Drive

Sandeep Reddy Tallapally
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!
May 1, 2020

Hello All,

Does anyone know how to achieve the below functionality:

1. Copying file attached in JIRA ticket to NAS Drive.

2. Update the story if the file is moved to NAS drive (file copied), do I need to use REST API for this? if so which tool should i use write Rest API for JIRA?

Please suggest.

Thanks in advance!

1 answer

0 votes
Nic Brough -Adaptavist-
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.
July 25, 2020

Apologies, I have only just seen this.

On point 1, there's a question - when do you want to copy the attachment to the NAS?  I assume there is some form of trigger event.  The obvious one is probably a change of issue status - if that's the case, you will probably want a post-function to push the attachment over to the NAS. 

You'll need some code, either a plugin you can write yourself, or use one of the scripting apps to provide it.  Although if your NAS can take uploads via direct urls, you may be able to do it with webhooks alone.

On point 2, yes, you would use the REST API in Jira.  You can use any tool or language you want as long as it can issue REST calls over the network.  Have a look at https://developer.atlassian.com/server/jira/platform/rest-apis/ to get started

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events