Question

How do I upload a file from Sharepoint to a Jira ticket as an attachment?

  • 22 February 2024
  • 7 replies
  • 63 views

I am collecting some data and a file using typeform.

Trigger: When user submits the typeform.

Action:

  1. I want to upload the file from typeform to sharepoint.
  2. Create a JIRA ticket
  3. Upload the file from sharepoint to JIRA ticket as an attachment.

I am having issue in attaching the file from sharepoint to JIRA ticket. I cant find any option to attach the file, although I am able to do it successfully if using oneDrive rather than Sharpoint as OneDrive have an attribute called file but I cant find any attribute containing file content on Sharepoint.

 

Any help will be appreciated.


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

7 replies

Userlevel 7
Badge +14

Hi @Markus Dittli 

To help us have more context, post screenshots with how your Zap steps are outlined and configured.

Hi @Troy Tessalone 

 

Thanks for your reply.

Here are the screenshots.

Under the attachment there is no option to attach file from Sharepoint.

 

The issue is in Step-4 where I am trying to add the attachment from Sharepoint to the JIRA ticket.

 

 

Userlevel 7
Badge +14

@Markus Dittli 

If the same file is being uploaded from Typeform to SharePoint and Jira, then try using this field, which is a file object, in both steps.

 

@Troy Tessalone 

 

I did the same but the problem is in JIRA ticket the attachment does not contain the actual content rather contains a link of Zapier which when copy pasted on the browser, I can see the actual file content.

 

Sample link contained in the attachment

https://zapier-dev-files.s3.amazonaws.com/cli-platform/19779/…...

Userlevel 7
Badge +14

@Markus Dittli 

The Attachment field accepts files.

How to send files in Zaps: https://zapier.com/help/create/basics/send-files-in-zaps

The Attachment field should accept a valid file object or a publicly available direct download link file url.

 

This is a file object, which is a temp file that expires after some time.

 

@Troy Tessalone

I am already using the file object but it ends up creating an attachment that contains the download link from Zapier and not the actual file.

What is the way to upload a file from Sharepoint?

In my workflow I uploaded the file on Sharepoint, now I want to upload that file from Sharepoint to JIRA

Userlevel 7
Badge +14

@Markus Dittli 

Help article about sending files in Zaps: https://zapier.com/help/create/basics/send-files-in-zaps

 

File objects are temp files in Zaps that expire.

Make sure to retest previous steps to get fresh data.

 

Concept would be the same to map a file object or a file url from SharePoint (if returned) to Jira.