Getting JIRA ApplicationID in JIRA

Robin Peters
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.
May 17, 2017

Hello,

I am writing a groovy postfunction where I want to create a confluence page with JIRA filters.

For this, I have to get the JIRA ApplicationId of the Confluence - JIRA application link to set up the JIRA filters correctly.
In JIRA I have the possibility to get the ApplicationId of Confluence with the ApplicationLinkService, but how can I get the JIRA ApplicationId?

I read something about HostApplication, but don't know how I can initialize it in groovy.

Can someone help me?

Best,
Robin

1 answer

0 votes
Robin Peters
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.
May 19, 2017

Can someone help me here?

At the moment, I set the id hardcoded, which is not nice.

Suggest an answer

Log in or Sign up to answer