Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How to add a link to an attachment already on the issue to a comment?

Ofer Elyakim
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!
Nov 18, 2023

I am creating an issue and add attachments to it. I then add a comment to the issue, which includes a link to those attachments - the content element. When some of my customers try to download these attachments, they get an error (no permission). I got the same error message when I open the ticket on an incognito window.

The best answer I was able to find is this: https://community.atlassian.com/t5/Jira-questions/Linking-inline-image-to-attachment-using-API/qaq-p/1980564

However, I am creating those issues on Apex (Salesforce) not sure how to get the redirect address.

Is there any other way to get the real ID of the attachment? 

Is there a better way to add the link so it can be accessed anonymously?

Thank you for your help!

1 answer

0 votes
Murat Seven
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.
Nov 20, 2023

Hi  @Ofer Elyakim  and welcome to the Atlassian Community.

As per my knowledge, this feature is not available and there is an opened ticket about this issue.

Hope this helps. If the issue is resolved, you can vote and accepted for this comment.

 

Best,

Murat Seven

Ofer Elyakim
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!
Nov 20, 2023

Thank you for your reply Murat,

Is there a way to add a thumbnail of an attachment that is already on the ticket to a comment via api?

My issue is not with allowing anyone to download it, it's more that if I add the 'Content' field of the attachment, it's not allowing my customers to download the attachment. They are logged in via sso)

I know how to do it manually, but i'm looking for a way to do it via api.

 

Thank you,

 

Ofer

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events