Getting JIRA ApplicationID in JIRA

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

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
Community showcase
Published yesterday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

213 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you