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

SOLVED: Get BaseURL Field?

jhreeves2001 September 3, 2012

Is is possible, through Groovy, to assign a new string variable to equal the "Base URL" field value from Admin ... Config within JIRA?

Example:

def helpme = baseurl;

where baseurl is some key word...

Thanks so much for your help.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

4 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
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.
September 4, 2012

You can do like this:

def baseurl = ComponentAccessor.getApplicationProperties().getString("jira.baseurl")

jhreeves2001 September 4, 2012

Jobin --- Thank you so much for this!!!! It works great --- have a great day!

TAGS
AUG Leaders

Atlassian Community Events