It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to get fully qualified domain name of hipchat server on which my plugin is installed?

I would like to get the FQDN (fully qaulified domain name)  of the HipChat server on which my add on is installed.

So that I can use them in the message card URL.

When I get incoming request to addon, the request contains only roomId and userId.

Is there any way to identify form which HipChat server the request is coming from?

example:

company1.hipchat,com, company2.hipchat.com, etc;

 

1 answer

0 votes
Anatoli Atlassian Team Jun 16, 2016

Hi Ramesh,

 

you can use view group api to get the domain name. You need to have the right scopes in order to all that method.

Anatoli Atlassian Team Jun 23, 2016

Also, just though of if. During the installation you get the capabilities url – you can extract FQDN from there. You would need the url to call any of the api methods anyway.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Hipchat

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

35,257 views 9 8
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you