Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-1755

Changes from automation do not fire a re-index on the issue

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Service Desk Cloud. Using JIRA Service Desk Server? See the corresponding bug report.

      Update as of 11 September 2015

      This issue has been tracked down to a inconsistency at the indexing level inside JIRA.

      To fix this, a workaround has been added to the Automation module for a 2.5.7 Service Desk release. This workaround will schedule a consistency task between 30 seconds - 2 minutes of the workflow transition rule executing. If the reindex initially may have got the queues into an inconsistent state, this task will reload the issue from database and index again.

      However, the real fix will be available from JIRA 7.0.0 (JSD 3.0.0) where on every reindex, the issue will be reloaded before indexing, to prevent these inconsistencies occurring at all.

      I have a Service Desk workflow that is triggering transitions when the issue is commented upon (similar to the default Service Desk workflow). It appears that at least some of the time, the issue does not re-index when it is transitioned by the automation. When I view the issue in the queue, it shows one status, and when I view the issue on the normal view screen it has a different (correct) status. Making any edit to the issue that forces a re-index brings both statuses inline with each other.

      Automation details

      When If Then
      Issue Commented Status = "Waiting for Support"
      Comment is public
      User is agent
      Transition "Respond to customer"
        Else If Then
        Status = "Waiting for Customer
      User is not agent
      Transition "Respond to support"

      Attachments

        1. 346navigator.png
          346navigator.png
          12 kB
        2. 346queue.png
          346queue.png
          6 kB
        3. 346summary.png
          346summary.png
          20 kB

        Issue Links

          Activity

            People

              mmcmahon Matthew McMahon (Inactive)
              mikey.schott MikeyS
              Votes:
              11 Vote for this issue
              Watchers:
              27 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: