Versions Compared

Key

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

...

Info
titleAvailability

This routine is available since starting with 

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

 SyntaxSyntax

lfInstantHook(relatedFields, scriptPath);

Description

Excerpt
Executes the given SIL script, passing the screen values for the specified relatedFields as parameters to the script.

...

Using an instant hook, you can access in the hook script the screen values for the desired fields as argv[field].

Parameters

ParameterTypeRequiredDescription
relatedFields

String Array

YesThe dependent fields required for the given field.
scriptPathStringYesThe script source to run when the event is triggered.

Example

Code Block
lfInstantHook({"summary", "customfield_13706", "components"}, " hook.sil");

...

Info
titleInfo

For more information, see How Live Fields work.

See

...

also

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