Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Timeline API returning users with no email

Martynas Markevicius
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 17, 2023

Hello! 

I am currently trying to retrieve a schedule timeline from the API and I'm facing a weird issue where I end up getting a period in the schedule with a user whose name is not present in the entry.

```

{
"startDate": "2023-05-31T21:00:00Z",
"endDate": "2023-06-05T06:30:00Z",
"type": "historical",
"recipient": {
"type": "user",
"id": "e5845af9-2a5e-4248-88eb-bb3849da7a80",
"username": ""
}

```

I am aware that this would normally happen if the person's account no longer exists in OpsGenie, but it does.

Also, if I take the given user ID and try and retrieve details of the user using `https://api.eu.opsgenie.com/v2/users/e5845af9-2a5e-4248-88eb-bb3849da7a80`, I get the following response:
```

{
"message": "User not found with identifier [e5845af9-2a5e-4248-88eb-bb3849da7a80]",
"took": 0.012,
"requestId": "7e0ef522-d027-40a7-9c1d-662f1c67434e"
}
```

Now if I was to take the user ID and paste it in the browser to give me profile details (e.g https://org.app.eu.opsgenie.com/settings/users/e5845af9-2a5e-4248-88eb-bb3849da7a80/detail), I would get the users account displayed to me with no issues.

And this issue persists with multiple people across multiple schedules....
What could be the cause of this?

1 answer

0 votes
John M
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 18, 2023

Hi @Martynas Markevicius ,

Can you please open a support ticket so we can gather some information to investigate this further? 

https://support.atlassian.com/contact/#/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events