Versions Compared

Key

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


Info
titleAvailability

This routine is available starting with katl-commons 1.0, changed in 2.5.

print(variable)

Since Power Scripts for Jira 2.5 and katl-commons 2.5 this routine has been changed. Before this change was done the print routine was printing the message in the application log, on INFO level.

The arguments are converted to string and then printed. Since the new version no configuration for logging is necessary because the arguments (converted to string) are always shown in the application log.

This routine is similar to printing a string on the console in any programming language.

Excerpt
Returns the printable string in the application log.

Parameter name

Required

Description

variable

Yes

The value that you want printed. The value argument can be any printable characters: strings, chars, numbers, dates, intervals, etc.

None

Code Block
if(isNotNull(dueDate))
{
  print("You should complete this task before " + dueDate);
}
else
  print("This task has no deadline!");

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "basic_routines"
labelsbasic_routines