Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to change the base url of jira

Alok kumar Singh
Contributor
April 17, 2012

i have started developing custom field plugins, but the problem is the jira server is setup on some other machine...but base url has been set up on localhost:2099....so I want to change the base url....

1 answer

0 votes
Ramiro Pointis
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.
April 17, 2012

Hi Alok, the base url was setup when you ran the atlas-run command? In this case is just for developing the plugin, it doesn't need to be setup up to the Jira server. When you finish developing you create a .jar file in install it in the Jira server.

Alok kumar Singh
Contributor
April 17, 2012

thnx Ramiro, but the thing is I want to create a custom field plugin through which I would be able to validate the crucible review Id linked to a particular issue....

Ramiro Pointis
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.
April 17, 2012

Ok Alok, if I'm not wrong, you construct the plugin in your localhost, there you add all your requirements for the plugin, and then you export the plugin to a file. I believe it isn't possible to create a plugin into the production enviroment.

And, in fact, have you already investigated if there's a plugin that does that? I'm not sure, but maybe that could be done with the Script Runner plugin. @Jamie is the developer and you can ask him here.

Mizan
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.
April 25, 2012

@Alok Can we develop plugins for Ondemand Jira ?

Alok kumar Singh
Contributor
April 25, 2012

Hii, ramiro....I have installed Script Runner plugin.....now I want to write a post function....how should I start...plz tell....

Mizan
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.
April 25, 2012

Actually the tags you have used are for questions which apply to ondemand

If the two machines are on same LAN you should try to connect by using the ip instead of localhost

eg:x.x.x.x:2099

Renjith Pillai
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.
April 25, 2012

Interesting, how did 'you' install something into OnDemand? Your intial question says, it is on localhost. I am changing the question tags.

Alok kumar Singh
Contributor
April 25, 2012

Renjith...: actually I wrote a custom plugin.....and it deployed in localhost....so I asked....now I knw d procedure...yhanks 2 u guys....well the 2 machines are not on the same LAN

@Ramiro

Ok Alok, if I'm not wrong, you construct the plugin in your localhost, there you add all your requirements for the plugin, and then you export the plugin to a file. I believe it isn't possible to create a plugin into the production enviroment.....a

Alok kumar Singh
Contributor
April 25, 2012

I don't knw dude....

Alok kumar Singh
Contributor
April 25, 2012

Plz tell me how should I use script runner.....

Renjith Pillai
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.
April 25, 2012

@Alok: Please be specific on what you want to achieve with the plugin. Ramiro's comment was that, what you are trying to achieve may be already possible with Script Runner. Did you read the documentation he had given for the same?

Alok kumar Singh
Contributor
April 25, 2012

yup....I did...I installed script runner plugin to my production JIRA server....wht i understood is to write a script and the import it in jira>>Administration>>ScriptRunner>>Script file path....

But the thing I am not getting is whether I should follow the same procedure as I created a custom field plugin.....Plz pardon me as I am really annoying u guys....ds s jst a matter of tym....once I will get the things....it will be easier I think.....

Ramiro Pointis
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.
April 25, 2012

Ok, I'm getting very confuse right now. Let's clarify a little, you are using a Download Version. You have installed the Script Runner plugin, and you want to add a Post Function in a transition to do something.

Well, you have two possibilities:

One, you could go to the Workflow, into the transition where you want to add the PostFunction, Select to add a Script PostFunction and then that part is very explicit in what you can do.

Two, you can go to the administration section of the Plugin and then you have many posibilites, for example you can create a script in the Script Runner tab, or use scripts already created in the tab Built-In Script. There's a tab Script Listener too that could be used to detect an Event fired in a post function and then do something with a script.

P.S: Being absolutely sincere, I don't know much about the codes that you could use, but I'm sure you can't create another question specifying if you are having a code issue and the users would be more than happy to help you. I'm going to give it a try myself, but I'm a asking to create a new question so we can understand more and don't get confused by the title and comments on this one.

Cheers :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events