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

      Issue Summary:

      If an agent is also a customer and he closes an issue that he raised from within JIRA (NOT Customer Portal). If there is a comment added in the resolve issue screen, the issue closes and then re-opens.

      Steps to reproduce

      • Create an issue as an agent in SD
      • Assign the issue to yourself.
      • Resolve and close the issue.
      • Refresh the page.

      Expected Result
      Issue stays resolved based on selected resolution.

      Actual Result
      Issue gets resolved and gets re-opened immediately.

      Cause

      • The arrangement of the workflow post functions, places transitioning the issues in a higher position above add comment. (related to the order described here.

      Workaround

      • Edit the Transition on comment Automation Rule at
        • https://<BASE_URL>.atlassian.net/servicedesk/agent/<PROJECT_ID>/settings/automation
      • Manually add in the following (See screenshot):
        ELSE IF
         issue matches: 
        Status = Resolved and "Customer Request Type" is not empty
         Comment is Public
         User is customer
        THEN
         Transition Issue
        Reopen Issue
        

          Form Name

            [JSDSERVER-2245] Automation Re-open on comment broken

            Owen made changes -
            Workflow Original: JSD Bug Workflow v5 - TEMP [ 2304588 ] New: JAC Bug Workflow v3 [ 3125049 ]
            Status Original: Done [ 10044 ] New: Closed [ 6 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v5 [ 2058433 ] New: JSD Bug Workflow v5 - TEMP [ 2304588 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v5 - TEMP [ 2055496 ] New: JSD Bug Workflow v5 [ 2058433 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v5 [ 1955259 ] New: JSD Bug Workflow v5 - TEMP [ 2055496 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v4 [ 1615791 ] New: JSD Bug Workflow v5 [ 1955259 ]
            jonah (Inactive) made changes -
            Description Original: h5. Issue Summary:
            If an agent is also a customer and he closes an issue that he raised from within JIRA (NOT Customer Portal). If there is a comment added in the resolve issue screen, the issue closes and then re-opens.

            *Steps to reproduce*
            - Create an issue as an agent in SD
            - Assign the issue to yourself.
            - Resolve and close the issue.
            - Refresh the page.

            *Expected Result*
            Issue stays resolved based on selected resolution.

            *Actual Result*
            Issue gets resolved and gets re-opened immediately.

            *Cause*
            - The arrangement of the workflow post functions, places transitioning the issues in a higher position above add comment. (related to the order described [here|https://confluence.atlassian.com/display/JIRACLOUD/Advanced+workflow+configuration].

            h3.Workaround
            - Edit the *Transition on comment* Automation Rule at
            -- {{https://&lt;BASE_URL&gt;.atlassian.net/servicedesk/agent/&lt;PROJECT_ID&gt;/settings/automation}}
            - Manually add in the following (See screenshot):
            {code}
            ELSE IF
             issue matches:
            Status = Resolved and "Customer Request Type" is not empty
             Comment is Public
             User is customer
            THEN
             Transition Issue
            Reopen Issue
            {code}
            New: {panel:bgColor=#e7f4fa}
              *NOTE:* This bug report is for *JIRA Service Desk Server*. Using *JIRA Service Desk Cloud*? [See the corresponding bug report|http://jira.atlassian.com/browse/JSDCLOUD-2245].
              {panel}

            h5. Issue Summary:
            If an agent is also a customer and he closes an issue that he raised from within JIRA (NOT Customer Portal). If there is a comment added in the resolve issue screen, the issue closes and then re-opens.

            *Steps to reproduce*
            - Create an issue as an agent in SD
            - Assign the issue to yourself.
            - Resolve and close the issue.
            - Refresh the page.

            *Expected Result*
            Issue stays resolved based on selected resolution.

            *Actual Result*
            Issue gets resolved and gets re-opened immediately.

            *Cause*
            - The arrangement of the workflow post functions, places transitioning the issues in a higher position above add comment. (related to the order described [here|https://confluence.atlassian.com/display/JIRACLOUD/Advanced+workflow+configuration].

            h3.Workaround
            - Edit the *Transition on comment* Automation Rule at
            -- {{https://&lt;BASE_URL&gt;.atlassian.net/servicedesk/agent/&lt;PROJECT_ID&gt;/settings/automation}}
            - Manually add in the following (See screenshot):
            {code}
            ELSE IF
             issue matches:
            Status = Resolved and "Customer Request Type" is not empty
             Comment is Public
             User is customer
            THEN
             Transition Issue
            Reopen Issue
            {code}
            jonah (Inactive) made changes -
            Link New: This issue relates to JSDCLOUD-2245 [ JSDCLOUD-2245 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels Original: affects-server New: affects-cloud affects-server
            Confluence Escalation Bot (Inactive) made changes -
            Labels New: affects-server
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v2 [ 1602960 ] New: JSD Bug Workflow v4 [ 1615791 ]

              vvinogradov Vladimir Vinogradov
              ijimoh Ismael Olusula Jimoh (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: