Versions Compared

Key

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

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !


Info
titleAvailability

This routine is available starting with katl-commons 1.0.

Not available on cloud.

Syntax

system(command)

Description

...

Returns the exit code of the program and the output and error streams as strings. Through this you may integrate outside scripts (sh, ksh, perl, ...) with Jira. Streams are limited to 4Kb (only the first 4Kb are taken into account).

Parameters

Parameter name

Type

Required

Description

command

string

yes

Valid Operating System command.

Returns

string []

The routine returns an array with 3 elements in such order:

  1. The operating system exit code of the process being spawned (as string)
  2. The output stream (limited to 4Kb) as a string
  3. The error stream (limited to 4Kb) as a string

...

Example

Let's create a file using system routine and windows command prompt:

...

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "system_routines"
labelssystem_routines