Filter Approvals = myPending() shows what is already approved when pending other approvers

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • Component/s: Approvals
    • None
    • 29
    • Severity 3 - Minor
    • 0

      Summary

      We have implemented a new function mypendingApproval() which solves this. The definition of mypending() has been changed.

      Please refer to https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-functions/

      When using the JQL Approvals = myPending, it shows tickets that are already approved by current user.
      The ticket only disappears from the list if all approvers approved the request.

      Steps to Reproduce

      1. In the workflow for Approval request type, on the approval step - set "Consider approved after - All approvals"
      2. Create a ticket that approval is needed for more than one approval.
      3. One user approves the ticket.
      4. Search for Approvals = myPending() (when logged as user) or Approvals = pendingBy(user.name).

      Expected Results

      The results show only what is pending for the user who is searching Approvals = myPending(), even though it's necessary approval from another user.

      Actual Results

      The results show the tickets that are already approved by the current user because the another user hasn't approved yet.

      Notes

      It was reproducible on another instance.
      This issue also happens on the Customer Portal > Requests > Approvals

            Assignee:
            Jason D'Cruz
            Reporter:
            Angélica Luz
            Votes:
            52 Vote for this issue
            Watchers:
            71 Start watching this issue

              Created:
              Updated:
              Resolved: