Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleAvailability

This routine is available since

  1. JJUPIN 2.5.6 (for JIRA 5.x) and 2.6.1 (for JIRA 6.x)
  2. katl-commons 2.5.8 (for JIRA 5.x) and 2.6.1 (for JIRA 6.x)

...

lfRedirect(url);

Description


Excerpt
Redirects to the specified URL.



If the url parameter represents a project or issue key, will redirect to its page, that is "<jira_base_url>/browse/<issue_or_project_key>".

Parameters

ParameterTypeRequiredDescription
urlStringYesThe redirect URL.

The url parameter can be:

  • a Jira relative path (eg. "/secure/Dashboard.jspa")
  • a issue key (eg. "DEMO-1")
  • a project key (eg. "DEMO")
  • a full path URL (eg. "http://www.google.com")

Example

Redirecting to our Kepler's products site:

...

Code Block
lfRedirect("DEMO-1");

See Also:

Filter by label (Content by label)
max35
cqllabel = "live_fields_routines"