Skip to end of banner
Go to start of banner

print

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Availability

This routine is available starting with SIL Engine™ 1.0, changed in 2.5.

print(variable)

Starting with Power Scripts™ for Jira 2.5 and SIL Engine™ 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. Starting with 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.

Returns the printable string in the application log.

Parameter name

Required

Description

variable

Yes

Value you want to be printed. The value argument can be any printable characters: strings, chars, numbers, dates, intervals, and so on.

None

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


  • No labels