API: Changing Team type from Portfolio team to Agile team is allowed but the opposite isn't allowed.

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: None
    • Component/s: Team - Other
    • 1
    • Severity 3 - Minor
    • No
    • None

      Issue Summary

      • We see two identical records with the same ID are displayed on the Teams Grid screen while database showing only one entry.

      Steps to Reproduce

      1. Navigate to Teams > View all teams.
      2. Filter with Team = Portfolio Team and choose any Portfolio team id.
      3. Now, use the PATCH request with the below data (changing the type from 5 to 1) to modify the Team as Agile team.
        https://<ja_instance>.jiraalign.com/rest/align/api/2/teams/<team_id>
        [
          {
            "op":"replace",
            "path":"type",
            "value":1
          }
        ]
      4. It will be successful with 204 No content.
      5. Now, refresh the Jira Align Teams grid and you will find duplicate entries for the specific team id.
      6. Repeat Step 3 with value :5 (changing type from 1 to 5). The below error will be shown:
        "Cannot update the team with id xx. Cannot update to Portfolio team ( type=5 ) separately. It is automatically created after Portfolio is created."

      Expected Results

      The Patch request for modifying the Portfolio team to the Agile team to throw an error.

      Actual Results

      The Patch request for modifying the Portfolio team to the Agile team is successful.

      Workaround

      Currently, there is no known workaround for this behavior.

        1. Teams grid.png
          497 kB
          Sivashanmathi A

            Assignee:
            Juan Arias
            Reporter:
            Sivashanmathi A
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: