Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Ramesh Reddy June 16, 2016

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
Atlassian Team members are employees working across the company in a wide variety of roles.
June 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
Atlassian Team members are employees working across the company in a wide variety of roles.
June 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
AUG Leaders

Atlassian Community Events