Uploaded image for project: 'Automation for Jira Server'
  1. Automation for Jira Server
  2. JIRAAUTOSERVER-225

Work Log does not get copied for 'Linked' issues after 20 entries in Automation for Jira

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 7.3.0
    • 7.2.3, 7.2.6, 7.2.7
    • Actions, Smart-values
    • None
    • Severity 3 - Minor

    Description

      Issue Summary

      In the Automation for Jira rule to copy the entry of 'wrok log' from parent issue to 'linked' issue, Work Log entries from 'parent' ticket do not get copied to 'linked' ticket after 20 entries.

      Steps to Reproduce

      1. Create a simple A4J rule to copy Work Log entries from 'parent' ticket to 'linked' ticket.
      2. We are using below code snippet to copy the 'work log' values from 'parent' to 'linked' ticket.
        {
          "update": {
            "worklog" : [
              {
                "add": {
                  "timeSpent" : "{{#debug}}{{triggerissue.worklog.timeSpent.last}}{{/}}"
                }
              }
            ]
          }
        }
        
      3. Create 2 tickets and link them (relates or any other). Start entering 'work log' values on them. Please check the 'linked' ticket to make sure values are getting copied through A4J rule.
      4. Enter 20 values. All 20 entries will be copied from 'parent' to 'linked' issues as expected. However, from the 21st entry, for all the subsequent entries, the new values entered in 'parent' ticket will not be copied to 'linked' issue. 'Linked' issue just copies the 20th value every time to the 'linked' issue and vice-versa.

      Expected Results

      Correct values from 'parent' issue must be copied to 'linked' issue everytime.

      Actual Results

      After 20 'work log' entries, for all subsequent entries, the 20th entry will be copied from the 'parent' issue to the 'linked' issue.

      Screenshots of 'parent' ticket work log entries:

      Notice, after 20 entries, next entries are 21, 22, 23 & 24 minutes.
      Screenshots of 'linked' ticket work log entries:

      Notice, after 20 entries, the subsequent entries are still for 20 minutes.

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available.

      Attachments

        1. A4J rule.png
          A4J rule.png
          38 kB
        2. Linked Ticket_main page.png
          Linked Ticket_main page.png
          74 kB
        3. Linked ticket_workLog_part_1.png
          Linked ticket_workLog_part_1.png
          100 kB
        4. Linked ticket_workLog_part_2.png
          Linked ticket_workLog_part_2.png
          96 kB
        5. Linked ticket_workLog_part_3.png
          Linked ticket_workLog_part_3.png
          88 kB
        6. Parent Ticket_main page.png
          Parent Ticket_main page.png
          147 kB
        7. Parent ticket_workLog_part_1.png
          Parent ticket_workLog_part_1.png
          102 kB
        8. Parent ticket_workLog_part_2.png
          Parent ticket_workLog_part_2.png
          91 kB

        Issue Links

          Activity

            People

              mostaszewski@atlassian.com Mateusz Ostaszewski
              e8bff493ac7b Karthik Manjunath
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: