Checking for Application Link Status via REST

Justin Alex Paramanandan
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!
June 27, 2021

Heya everyone,

We are writing test cases using Postman and would like one for verifying the status of an application link. Judging from this post, it seems there is one that has a tag (appLinkState) for the status of an applink. However, that endpoint does not seem to have that tag any longer. Below is for Confluence DC 7.4.4:

/rest/applinks/latest/listApplicationlinks
<list>
<list
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="linkAndAuthProviderEntity">
<application>
<link href="https://confluence.sandbox-2/rest/applinks/latest/applicationlink/48a4d1d9-a2f5-3a4c-a51e-c44dc0d3dd65" rel="self"/>
<id>48a4d1d9-a2f5-3a4c-a51e-c44dc0d3dd65</id>
<typeId>jira</typeId>
<name>Jira</name>
<displayUrl>https://jira.sandbox-2</displayUrl>
<iconUrl>https://confluence.sandbox-2/s/-1bdr6r/8401/008d09724398b50e93468e30a239d4f6d750af9b/6.0.12/_/download/resources/com.atlassian.applinks.applinks-plugin:applinks-images/images/types/16jira.png</iconUrl>
<iconUri>https://confluence.sandbox-2/s/-1bdr6r/8401/008d09724398b50e93468e30a239d4f6d750af9b/6.0.12/_/download/resources/com.atlassian.applinks.applinks-plugin:applinks-images/images/config/logos/128x128/128jira.png</iconUri>
<rpcUrl>https://jira.sandbox-2</rpcUrl>
<isPrimary>true</isPrimary>
<isSystem>false</isSystem>
</application>
<configuredOutboundAuthenticators>com.atlassian.applinks.api.auth.types.OAuthAuthenticationProvider</configuredOutboundAuthenticators>
<configuredOutboundAuthenticators>com.atlassian.applinks.api.auth.types.TwoLeggedOAuthAuthenticationProvider</configuredOutboundAuthenticators>
<configuredInboundAuthenticators>com.atlassian.applinks.api.auth.types.OAuthAuthenticationProvider</configuredInboundAuthenticators>
<configuredInboundAuthenticators>com.atlassian.applinks.api.auth.types.TwoLeggedOAuthAuthenticationProvider</configuredInboundAuthenticators>
<hasIncomingAuthenticationProviders>true</hasIncomingAuthenticationProviders>
<hasOutgoingAuthenticationProviders>true</hasOutgoingAuthenticationProviders>
<isSystem>false</isSystem>
<entityTypeIdStrings>jira.project</entityTypeIdStrings>
</list>
</list>

This is also the same for Jira DC 8.13.5 as well as Bitbucket DC 7.12.1.

Using the Healthcheck URL works for some applications (not Bitbucket) but with varying results:

/rest/troubleshooting/1.0/check/
  • Jira: there's an applinksStatusHealthCheck but no indicators on which applink is failing (should they be one)
  • Confluence: no such thing as applinksStatusHealthCheck - or any applink health check at all.
  • Bitbucket: no healthcheck status check

Any ideas? Or maybe you have an idea for a test case for application links?

TIA!

1 answer

0 votes
Fabian Lim
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 26, 2021

Hi @Justin Alex Paramanandan

I'm interested on this one. Have you been able to figure this one out?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.4.4
TAGS
AUG Leaders

Atlassian Community Events