...
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.
Code Block |
---|
return false, "worklog_timeLogged", "<error message>"; |
Note | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Custom fields must be referenced by id (customfield_id), while standard fields can be specified by one of the following keywords: summary, timetracking, security, attachment, reporter, environment, description, duedate. You can also check the Comment field, using the keyword comment.
|
...