Hi, we're in the middle of exploring our migration from OpsGenie to JSM (Cloud). One operation we used in OG was /v2/users/{id}?expand=contact to return a userContacts array that includes voice and sms methods. I cannot find an equivalent endpoint within a Personal Access Token-scoped call in JSM or Jira Cloud. What I've found:
/v1/users/contacts returns only the calling user's own contact methods, and the exposed methods are email and mobile (push notification), but neither voice nor sms./rest/api/3/user returns no phone field, I tried it on our sandboxGiven those findings, and my limited knowledge of the APIs, I can see a path for phone numbers in Atlassian Cloud is the SCIM User Provisioning API at api.atlassian.com/scim/directory/{directoryId}/Users/{userId}, which returns a phoneNumbers array — but it requires org-admin scope on a managed directory, substantially different from the migration's recommended PAT/OAuth2 model.
Can anyone give me guidance on the proper way to get this information?
Hello and Welcome ?
/rest/api/3/user endpoint won´t help here. That endpoint is about Atlassian/Jira user profile data, not JSM Operations alert notification contact methods.
You can test this endpoint: GET /api/{cloudId}/v1/users/contacts?targetAccountId=<atlassianAccountId>
Are you Premium ?
Set up SMS and voice notifications | Jira Service Management Cloud | Atlassian Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.