Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-382

The field value changed trigger does not work for some fields - time tracking, log work, attachments added via comments

    • Severity 3 - Minor
    • 0

      Issue Summary

      The field value changed trigger does not work in A4J (Automation for Jira) rule when you select the time tracking or log work fields

      Steps to Reproduce

      1. Create an Automation Rule with issue trigger name: field-value changed
      2. Select the field "Log work" from the trigger drop down
      3. Add any action to the rule to save

      Expected Results

      Once we change the field value such as the Original estimate or log work on the issue, it should trigger the rule.

      Actual Results

      It doesn't trigger the rule.

      Workaround

      Please use the "Work logged" issue trigger.

            [AUTO-382] The field value changed trigger does not work for some fields - time tracking, log work, attachments added via comments

            Hi

            I created a workaround for adding attachments in comments - https://community.atlassian.com/forums/Jira-questions/The-Field-value-changed-trigger-does-not-work-for-some-fields/qaq-p/2966826

            Hope that will help some of you as a workaround but still I'm waiting for fixing this bug!

            Sebastian Krzewiński added a comment - Hi I created a workaround for adding attachments in comments - https://community.atlassian.com/forums/Jira-questions/The-Field-value-changed-trigger-does-not-work-for-some-fields/qaq-p/2966826 Hope that will help some of you as a workaround but still I'm waiting for fixing this bug!

            FF added a comment - - edited

            6c42cd3a07e9, I use the automation below to get this functionality to work with attachments.

            Note: if the attached file type is not listed in the regular expression portion of the condition, the automation will fail to execute. For this reason, probably best to over-saturate that expression with file type names.

             

            Trigger:

            Issue Commented (Comment is the main action)

            Condition:

            Smart Values Condition-

              First value:

              triggerIssue.comment.last.body

              Condition:

              __  contains regular expression

              Regular Expression:

              \.(txt|jpg|pdf|gif|png|csv|docx|pptx)

            Action:

            Whatever you want.

             

            Hope this helps

            FF added a comment - - edited 6c42cd3a07e9 , I use the automation below to get this functionality to work with attachments. Note: if the attached file type is not listed in the regular expression portion of the condition, the automation will fail to execute. For this reason, probably best to over-saturate that expression with file type names.   Trigger: Issue Commented (Comment is the main action) Condition: Smart Values Condition-   First value:   triggerIssue.comment.last.body   Condition:   __  contains regular expression   Regular Expression:   \.(txt|jpg|pdf|gif|png|csv|docx|pptx) Action: Whatever you want.   Hope this helps

            Just highlighting my post about attachments: https://community.atlassian.com/t5/Jira-Service-Management/No-attachment-trigger-in-Jira-Automation/td-p/2798434. If anyone has temporary solutions, please let me know.

            Aleksandra Leesment added a comment - Just highlighting my post about attachments: https://community.atlassian.com/t5/Jira-Service-Management/No-attachment-trigger-in-Jira-Automation/td-p/2798434. If anyone has temporary solutions, please let me know.

              Unassigned Unassigned
              4b1e33b923a4 Harpreet
              Affected customers:
              22 This affects my team
              Watchers:
              25 Start watching this issue

                Created:
                Updated: