Add Space Owner as a Smart Value

XMLWordPrintable

    • 9
    • 8

      Problem Definition

      The new Space Owner feature was rolled out in Feb 2025 and allows Admins to change the owner of a Space to a user or group that is different from the Space Creator.

      As of today there is no corresponding Smart Value to be used in Confluence Automation for Space Owner.

      Reference: Smart values in Confluence automation.

      Suggested Solution

      Create a new {{space.owner}} Smart Value, similar to the existing {{space.creator}}.

      Workaround

      It is possible to use the Send web request action to pull this information using API endpoints.

      First, use the Get space by id endpoint and provide a Space ID:

      https://{your-domain}.atlassian.net/wiki/api/v2/spaces/{{space.id}}
      

      PS: the {{space.id}} Smart Value is automatically populated if the Automation rule's scope is limited to a single Space.

      Second, use the Get user endpoint:

      https://{your-domain}.atlassian.net/wiki/rest/api/user?accountId={{webResponse.body.spaceOwnerID}}
      

      It is now possible to pull Space Owner information by using the {{webResponse.body}} Smart Value:

      • {{webResponse.body.accountId}}
      • {{webResponse.body.publicName}}
      • {{webResponse.body.displayName}}
      • {{webResponse.body.email}}
      • {{webResponse.body.timeZone}}

              Assignee:
              Unassigned
              Reporter:
              Thiago P [Atlassian Support]
              Votes:
              11 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: