Forums

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

How to connect JIRA to SHAREPOINT in order to save documents

Fabio Lonardoni
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!
June 28, 2022

Hello Everyone, 

How can I store all the ATTACHMENT documents of one TICKET into SHAREPOINT in a specific folder based on the following 2 event triggers? 

1] When a ticket has been created ==> Create a folder into sharepoint + saving attachments

2] When a ticket has been updated ==> saving attachments into sharepoint

I've tried WEBHOOK but it seems are not able to store documents into SHAREPOINT.

Is there any solution to do that? 

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.
June 28, 2022

Welcome to the Atlassian Community!

It's not as simple as it looks, Jira doesn't have any functions for attachments outside its own simple "add it to the issue" storage, and you'll actually have to write quite a lot of code to make it useful when you want to make it upload and refer to Sharepoint instead of using the issue storage.

I'd strongly recommend letting someone else do the code for you.  I've run into https://marketplace.atlassian.com/apps/1216788/onedrive-sharepoint-for-jira?hosting=server&tab=overview a couple of times, it seems to make Jira and Sharepoint work together properly.

Fabio Lonardoni
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!
June 28, 2022

Thanks Nic for the feedback! 

Unfortunatly in our environment they open ticket via mail with the document (in target) attached and users don't want to change this process.

So I need to apply something in JIRA that based on the events SHARE the attachments directly in the folder of sharepoint.

PLUGIN mentioned by you it's a good solution if before I manually store documents into sharepoint and then I open the ticket. 

Anyway thanks a lot for your quick feedback/suggestion :-)

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.
June 29, 2022

Ok, I don't know Sharepoint's remote API at all, so I have no idea how to code for it, but you will need to code a post-function or listener that can read an issue's attachments, decide if it needs to go over to sharepoint, work out where, and then duplicate it into Sharepoint over the remote API

Like Fabio Lonardoni likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events