Tasks and comments
Task events start a workflow when something happens to a task: it is created, changed, assigned, commented on and so on.
This feature is in beta. If you do not see it, ask your admin to turn it on for your organization.
Tasks and comments
Section titled “Tasks and comments”Task events start a workflow when something happens to a task: it is created, changed, assigned, commented on and so on. They are the most common starting point.
Needs: Nothing beyond the Workflow Builder itself.
Events you can start from
Section titled “Events you can start from”Task created
Section titled “Task created”internal.task.created
Fires when a new task is made, by a person, an import or another workflow.
Data you can use in later steps: The task (its number, key and title), the project it is in, and who caused the event.
Task field changed
Section titled “Task field changed”internal.task.updated
Fires when a field on a task changes.
Data you can use in later steps: The task (its number, key and title), the project it is in, and who caused the event. Also which field changed, its old value and its new value.
Task status changed
Section titled “Task status changed”internal.task.status_changed
Fires when a task moves to another status. A move made by a workflow, a GitHub or deploy rule never starts another workflow, so rules cannot chase each other.
Data you can use in later steps: The task (its number, key and title), the project it is in, and who caused the event. Also the old status, the new status and where the move came from (a person, an integration and so on).
Task assigned
Section titled “Task assigned”internal.task.assigned
Fires when someone is given the task.
Data you can use in later steps: The task (its number, key and title), the project it is in, and who caused the event. Also who was assigned.
Task due soon
Section titled “Task due soon”internal.task.due_soon
Fires once per task per day while the due date is close. An hourly check looks for these.
Data you can use in later steps: The task (its number, key and title), the project it is in, and who caused the event. Also the due date.
Task overdue
Section titled “Task overdue”internal.task.overdue
Fires once per task per day while it is past its due date.
Data you can use in later steps: The task (its number, key and title), the project it is in, and who caused the event. Also the due date.
Task completed
Section titled “Task completed”internal.task.completed
Fires when a task reaches a finished status.
Data you can use in later steps: The task (its number, key and title), the project it is in, and who caused the event. Also the status it landed in.
Task reopened
Section titled “Task reopened”internal.task.reopened
Fires when a finished task goes back to open work.
Data you can use in later steps: The task (its number, key and title), the project it is in, and who caused the event. Also the status it went to.
Comment added
Section titled “Comment added”internal.task.commented
Fires when a comment is posted on a task.
Data you can use in later steps: The task (its number, key and title), the project it is in, and who caused the event. Also the comment and its text.
Person mentioned
Section titled “Person mentioned”internal.task.mentioned
Fires when someone is @mentioned in a comment.
Data you can use in later steps: The task (its number, key and title), the project it is in, and who caused the event. Also the comment and who was mentioned.
Label added
Section titled “Label added”internal.task.label_added
Fires when a label is put on a task.
Data you can use in later steps: The task (its number, key and title), the project it is in, and who caused the event. Also the label and its name.
Dependency unblocked
Section titled “Dependency unblocked”internal.task.dependency_unblocked
Fires on a task that was waiting on another when that other task finishes.
Data you can use in later steps: The task (its number, key and title), the project it is in, and who caused the event. Also the task that was blocking it.
Attachment added
Section titled “Attachment added”internal.task.attachment_added
Fires when a file is attached to a task.
Data you can use in later steps: The task (its number, key and title), the project it is in, and who caused the event. Also the attachment and its file name.
Task events respect who can see the task: a workflow only runs on a task its owner is allowed to see.
Good to know
Section titled “Good to know”- Filters: on the trigger you can narrow an event to exact values, for example one project. A filter that cannot be checked counts as not matching.
- If a run never starts, see Why didn’t it run?.