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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

139 views 16 7
Join discussion

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