Info |
---|
|
This routine is available since JJUPIN starting with - Power Scripts™ 2.5.6 ( for JIRA Jira 5.x ) and Power Scripts™ 2.6.1 ( for JIRA Jira 6.x (server)
- SIL Engine™ (former katl-commons) 2.5.8 ( for JIRA Jira 5.x ) and 2.6.1 ( for JIRA Jira 6.x)
|
Syntax
lfRedirect(url);
Description
Excerpt |
---|
Redirects to the specified URL. |
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
Parameter | Type | Required | Description |
---|
url | String | Yes |
The redirect .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 siteHere's an example with a redirect to our Products website:
Code Block |
---|
lfRedirect("httphttps://jira-plugins.kepler-rominfowww.cprimeapps.com/"); |
Redirecting to Jira dashboard:
Code Block |
---|
lfRedirect("/secure/Dashboard.jspa"); |
Redirecting to project "the DEMO" project page:
Code Block |
---|
lfRedirect("DEMO"); |
Redirecting to issue "the DEMO-1" issue page:
Code Block |
---|
lfRedirect("DEMO-1"); |
See
...
also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 35 |
---|
showSpace | false |
---|
sort | title |
---|
cql | label = "live_fieldslf_routines" |
---|
|