Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

string is reflecting when we attached image/pdf file through Power Automate HTTP API

Suvendu Nandy
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!
July 19, 2024

Hi everyone,

I am using power automate to Create Jeera Ticket from Email received in my inbox.

I pick attachment as well from email and passing it to jeera attachment API.

API responded with success but when i open attachment in jeera its open as string values inside the attachment.

 

I am also storing the same files in SharePoint where they opens perfectly. 

Can someone help me with this.

Tanks in advance.

 

Find Below Flow.

 

 

http.JPGbinary.JPG

 

Jeera 1.JPGjeera 2.JPGpo1.JPGpo2.JPG

 

 

 

Below is jeera attachment API Response.

 

[ { "self": "https://ysec.atlassian.net/rest/api/3/attachment/20124", "id": "20124", "filename": "image002.png", "author": { "self": "https://ysec.atlassian.net/rest/api/3/user?accountId=637dc3b7f48fbd9b62d5232b", "accountId": "637dc3b7f48fbd9b62d5232b", "emailAddress": "subhash.maji@ysil.in", "avatarUrls": { "48x48": "https://secure.gravatar.com/avatar/1b665a781c0bc16f5338d21d118cb403?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FS-5.png", "24x24": "https://secure.gravatar.com/avatar/1b665a781c0bc16f5338d21d118cb403?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FS-5.png", "16x16": "https://secure.gravatar.com/avatar/1b665a781c0bc16f5338d21d118cb403?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FS-5.png", "32x32": "https://secure.gravatar.com/avatar/1b665a781c0bc16f5338d21d118cb403?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FS-5.png" }, "displayName": "Subhash", "active": true, "timeZone": "Asia/Calcutta", "accountType": "atlassian" }, "created": "2024-07-19T12:28:37.131+0530", "size": 9304, "mimeType": "image/png", "content": "https://ysec.atlassian.net/rest/api/3/attachment/content/20124" } ]

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events