Uploaded image for project: 'Jira Align'
  1. Jira Align
  2. JIRAALIGN-2348

Portfolio Team : Adding a new member renders wrong role in UI as well as in the DB

XMLWordPrintable

      Issue Summary

      Portfolio Team : Adding a new member renders wrong role in UI as well as in the DB

      • In the UI, user is assigned to role Portfolio Member (which doesn't exist)
      • In the DB, user is assigned to role Team of Team (roleID=12) (which is allowed in Program and Solution teams only, but not in Portfolio teams)

      Steps to Reproduce

      1. Browse to the Teams grid
      2. Filter by Type=Portfolio Team
      3. Open any Portfolio team
      4. Click Members tab
      5. Add a new member

      Expected Results

      • User role is consistently assigned both in UI as as well as in the DB
      • Assigned role is a valid role for the given team type

      Actual Results

      1. In the UI, notice the user is assigned to the Portfolio Member role:

      2. Make a GET call towards Users/<id> endpoint and confirm the wrong roleID assignment:

         

        (...)
            "teams": [
            {
              "teamId": 1384,
              "teamName": "rjc Portfolio (standard) Team",
              "teamType": 5,
              "roleId": 12,
              "roleName": "TeamOfTeam"
            }

         

      Workaround

      • Manually select an appropriate role in the dropdown

        1. image-2020-11-25-18-28-42-711.png
          image-2020-11-25-18-28-42-711.png
          294 kB
        2. image-2025-02-07-15-12-20-720.png
          image-2025-02-07-15-12-20-720.png
          21 kB
        3. image-2025-02-07-15-12-46-209.png
          image-2025-02-07-15-12-46-209.png
          70 kB
        4. screenshot-1.png
          screenshot-1.png
          28 kB

              9cd547254f0d Vishnuvardhan Vaidhyanathan
              rcortez@atlassian.com Rodrigo Cortez
              Votes:
              11 Vote for this issue
              Watchers:
              19 Start watching this issue

                Created:
                Updated:
                Resolved: