Forums

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

Hi, is there a way to get a linked confluence page to the Jira ticket using smart values or API call

Sedrak Khachatryan
Contributor
December 7, 2021

Hi, when I use the smart value {{issue.issuelinks}} and make an API call, it returns empty.
I know that I can use custom fields or just add the URL of the page to the Link field, so it will work, but I'm wondering if there is such a way to get around this?

Screenshot 2021-12-07 184337.png

2 answers

3 votes
Sedrak Khachatryan
Contributor
December 9, 2021

here is the solution:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-remote-links/


curl --request GET \ --url 'https://your-domain.atlassian.net/rest/api/3/issue/{issueIdOrKey}/remotelink' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'

Khira Niemeier
Contributor
October 15, 2024

Hey @Sedrak Khachatryan 

it looks like you found and understood the solution to this problem?

I still feel stuck.

Currently I am trying to clone a ticket with an  automation and I want to copy the linked Confluence pages from the trigger issue to the new created one.

But I can't figure out how to include it into the automation. 

I would be really happy if you could help me out. :) 

1 vote
M Amine
Community Champion
December 7, 2021

{{issue.issuelinks}} are not all links to the issue. issue links reference the list of issues linked to the issue using Jira issue link

 

You can find here all smart values available. I see no smart value for Confluence. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events