On this page:

How to trigger an action with the Didit last comment field

It’s important to note that the Didit last comment custom fields holds the last note from the checklist. It does not hold comments from the last checklist tasks or the Jira issue. This field is also limited to 244 characters. If you type more than that amount, the field will not update. A great aspect of this custom field is that it will collect “notes” from public checklists as well. In this sense, you can have non Jira users alerting Jira users with their in-checklist comments.

  1. Jira project settings details page with the automation section highlighted.
    Jira project settings details page with the automation section highlighted.
  2. Click “Create rule.”

    The automation admin section with an arrow to the create rule button.
    The automation admin section with an arrow to the create rule button.
  3. Add the “Field value changed” trigger and choose “Didit last comment” for the “Fields to monitor for changes” section.

    The field value changed trigger for the automation rule with the Didit last comment field set.
    The field value changed trigger for the automation rule with the Didit last comment field set.
  4. Add a “smart values” condition which specifies the text in the note that you would like to trigger your rule.

    The text (second value) is up to you, but your “First value” and “Condition” should look something like below.
    The automation rule condition to compare the value of the Didit last comment with some custom text.
    The automation rule condition to compare the value of the Didit last comment with some custom text.

    We suggest you use “contains” for the condition. If you choose “equals” the condition will look for the exact text.

    How the condition looks in the rule so far.
    How the condition looks in the rule so far.
  5. Choose the action you wish to perform based on the Didit checklist completed option you have chosen. In our example we chose to leave a comment on the issue.

    The action for the rule set to leave a comment on the issue.
    The action for the rule set to leave a comment on the issue.

    Now, whenever your team comments the text “help”, automation will leave a comment on the issue. You can take this a step further by tagging another Jira user in the comment.

    The comment action with some text to tag the user in the manager field.
    The comment action with some text to tag the user in the manager field.
  6. You could also choose to leave a transition the issue, edit the issue, assign the issue, or send an email, among many other options.

Check out the Atlassian documentation on automation for more ideas!

Link to this page: https://seibert.biz/diditautomationlastcomment