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?
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.
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 :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.