How do I use issuesWithRemoteLinksByGlobalId fonction in JIRA querries

Chantal Farand
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!
January 9, 2019

I want to see all the jira issue related to and Confluence page. 

Here what I find. issue in (issuesWithRemoteLinksByGlobalId("pageId=150484015")) but it return nothing. I guest that my globalId is wrong, but I dont know where to get it. In the url of my confluence page I copied the PageId. But in the example that I see, there is an appid that I don't know where to get it. Thanks for your help.

 "globalId": "appId=abc-123-cde-456&pageId=987654",

 

2 answers

1 accepted

2 votes
Answer accepted
Bert Dombrecht
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.
September 14, 2023

Late to the party, but I was looking for the same thing.

To get the global ID of the remote link, you can use the REST API indeed.
In your browser, type: 

https://<yourSite>/rest/api/3/issue/<issueKey>/remotelink

You will find in the response:

"globalId":"appId=xxxxxxxxxxxxxxxxxxxxxxx"
0 votes
Fowler
Contributor
March 3, 2020

Confluence pages used to have a big JIRA LINKS link at the top of any page containing one or more Jira Issue Macros. Clicking on it would bring you to a JQL query with the global ID populated. Since the latest update (they added the analytics link), the JIRA LINKS link is now gone.

At least, this is the first time I've noticed its gone.

Now, I have no idea how to find the value of the `appId`, since the button is gone. Some other posts point to the confluence REST API, but that seems like way too much

My response is for the Cloud instance.

Mike Bowen
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.
October 23, 2020

It is still in Confluence (Cloud) at the top of a published page IF there are links to Jir Projects mentioned on the page. 

If there are no Jira Project links on the page then it does not appear. 

What is equally useful once on the filter page is the ability to then save the filter and in my situation this filter allows Organization=XXXX and Client=XXXX to be in one report, whereas if I did it myself it would never allow that a filter. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events