Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Info
titleAvailability

This routine is available starting with

  1. Power Scripts 2.5.6 ( for Jira 5.x ) and Power Scripts 2.6.1 ( for Jira 6.x (server)
  2. SIL Engine (former katl-commons) 2.5.8 ( for Jira 5.x ) and 2.6.1 ( for Jira 6.x)

Syntax

lfRedirect(url);

Description

...


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

Parameters

ParameterTypeRequiredDescription
urlStringYesRedirect 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

Here's an example with a redirect to our Products website:

...