Unable to Create Linked Objects Definition to User Profile

Hi team,

I wanted to play around with the Jira and Okta integration (hence, got a devpreview Okta environment for demo purposes).

For this purpose, I would like to demonstrate the ability to pull a user’s manager into Jira. Reading through the documentation, I stumbled upon the concept of Linked Objects API.

Executing the Add Linked Object Definition to User Profile Schema API via Postman results in the following 401 error response:

{
    "errorCode": "E0000015",
    "errorSummary": "You do not have permission to access the feature you are requesting",
    "errorLink": "E0000015",
    "errorId": "oae8c_RRBRnRc6Db7kPyxv4wQ",
    "errorCauses": []
}

I have used the default body provided in the docs for this API request:

{
  "primary": {
        "name": "{{primary}}",
        "title": "Manager",
        "description": "Unique manager of a user",
        "type": "USER"
    },
    "associated": {
        "name": "{{associated}}",
        "title": "Subordinate",
        "description": "One of possibly many subordinates of a user",
        "type": "USER"
    }
}

Is there anything that’s amiss? I did pass in the user token for this API call, and the same token used for the Get Current User request returns successfully.

Hi @jusuchin85

The error occurs because the linked objects feature is not enabled on your Okta org.
You can request it by sending an email to support@okta.com to have it enabled.

Thanks, @dragos.

I have already sent an email to Okta Support for activation.

Fingers crossed it works! :crossed_fingers:t5:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.