Versions Compared

Key

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

...

Returns "true" if the Comment field contains a value and "false" if the Comment field is empty.

Example 3 - checking whether time was logged against a ticket

The following line will check whether a Time Spent field was filled out for a ticket during the transition (on the transition screen). This is useful for cases when you want to make sure that users log time when they resolve tickets.

Code Block
hasInput("worklog");

If you want to show a warning under the Time Spent field for cases when the worklog wasn't entered for a ticket, consider using the following lines in theCustomizing workflows.
In addition you can use theisNullroutine to check whether the time was logged against the ticket before the transition.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "customfield_routine" and space = currentSpace ( )
labelsarray_routines