How can we create a dynamic Base URL. Sometimes we need to access the plugins/resources from different context path. So we want to make the base url dynamic from General Configuration under Administration.
Actually, we are not looking for two Base URL. But we have NCR Portal to access any NCR website (i.e.
) from out side the NCR LAN. NCR Portal authenticates the user and provides session to enter the NCR website. NCR portal redirects the request with encripted URL to that website. Website understand that URL and land the user. But baseurl (which is configured in JIRA) is executed without encripted or without the session. So baseurl is not understand in out side the NCR LAN.
Due to above reason we want to setup the Base URL as request.getContextPath(). Please let me know any JSP, Java, properties file, where we can configure or set the baseurl variable to Context Path.
As per my understanding, we need to modify the methods getText() or getString() in ApplicationPropertiesImpl.java file to feed to correct URL. To modify this file can you send me the .java file or can you tell me the process to modify this .class file to achieve the Base URL dynamic. Please consider this is a urgent request as our external user not able to access JIRA properly.
I suspect you need a commercial licence to see that file, as it's part of the core code (you're entitled to download the source if you have one). I suspect you'll need to amend more than that one file too - the base url is used throughout Confluence and I don't think it's changeable in just one place
I have tried to get the request object in file ApplicationPropertiesImpl.java as below. But both the cases I got null value. Please let me know any alternative.
HttpServletRequest servletRequest = ServletActionContext.getRequest();
HttpServletRequest servletRequest2 = ActionContext.getRequest();
Can anybody tell where the baseurl is stored for display the plugins in dashboard. For example, if I see the property of plugin displayed in dashboard as below.
Can you tell me where this code is written to create this URL in application.
I come to know that the gadgets (Two Dimensional Filter Statistics: Current Assignee Filter, Activity Stream etc.) displayed in the dashboard is not dependent on the Base URL which is provided by configuration (General Configuration under Administration). I have modified the Base URL to some unknown URL and restart the JIRA server. Observed that gadgets are displayed properly in dashboard still. I think these gadgets are collecting the URL from somewhere else. I was not able to find. Do you have any idea that I can proceeds or modify the URL as appropriate.
mmm, actually, those gadgets do depend on the base url, but they also know that they're running in Jira and therefore don't have to have it explicitly given to them. If you use them on other pages, then they need a pointer to Jira, which includes the base url...
To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?” That question applies to both implementation and improvements on the Scrum framew...
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!
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