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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Medium
    • Resolution: Fixed
    • Approvals
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              jdcruz Jason D Cruz
              adaluz Angélica Luz
              Votes:
              52 Vote for this issue
              Watchers:
              65 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: