Info |
---|
|
This routine is available starting with - Power Scripts™ 2.5.6 for Jira 5.x and Power Scripts™ 2.6.1 for Jira 6.x (server)
- SIL Engine™ (former katl-commons) 2.5.8 for Jira 5.x and 2.6.1 for Jira 6.x
|
Syntax
lfRedirect(url);
Description
...
Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=lfRedirect+-+15480485 |
---|
width | auto |
---|
|
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | lfRedirect(url) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Redirects to the specified URL. |
...
Parameters
...
Redirects to the specified URL.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
url | String | Yes | 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")
...
Return Type
None
Examples
Example 1
Here's an example with a redirect to our Products website:
Code Block |
---|
|
lfRedirect("https://www.cprimeappsappfire.com/"); |
Redirecting to Jira dashboard:
Code Block |
---|
|
lfRedirect("/secure/Dashboard.jspa"); |
Example 2
Redirecting to the the DEMO project project page:
Code Block |
---|
|
lfRedirect("DEMO"); |
Redirecting to the the DEMO-1 issue issue page:
Code Block |
---|
|
lfRedirect("DEMO-1"); |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 3525 |
---|
showSpace | false | sort | title |
---|
cql | label = "lf_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|