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

Enteprise Hierarchy is not updated/retrieved via API Calls

XMLWordPrintable

    • 1
    • Severity 2 - Major
    • No

      Issue Summary

      The Enterprise Hierarchy field is not updated and/or retrieved via API Calls on /Users endpoint

      This is reproducible on Data Center: Yes

      Steps to Reproduce

      1. Open a User Record and validate that the Enterprise Hierarchy field is not blank;
      2. Run a GET Call on the User's endpoint (/rest/align/api/2/Users/[UserID])
        • Enterprise Hierarchy field is presented as "Null" on the Response Body
      3. Run a PATCH Call on the User's endpoint (/rest/align/api/2/Users/[UserID]) with a payload similar to the one below:
        [
            {
                "op": "replace",
                "path": "/enterpriseHierarchy",
                "value": "Enteprise Hierarchy Test"
            }
        ]
        
        • Got a 204 response but Enterprise Hierarchy is not updated

      Tried it in several ways:

      • By using Enterprise Hierarchy ID (JA Administration > SETUP > Organization Structures)
      • By using a PUT Call instead of a PATCH Call
      • By using Postman instead of JA Swagger

      Expected Results

      Enterprise Hierarchy retrieved and/or updated via API Calls

      Actual Results

      The Enterprise Hierarchy field is not updated and/or retrieved via API Calls on /Users endpoint

      Workaround

      Currently there is no known workaround for this behavior regarding API Calls.
      The only way to update the Enteprise Hierarchy is via JA UI.

            csmith1@atlassian.com Cap Smith
            238f0a5fa446 Rodrigo San Vicente
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: