Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Jira align API Risks - lastUpdatedDate issue

WU Viviane February 15, 2024

Hi,

I have a question about the Jira Align API for Risks (/align/api/2/Risks/{id}), because for about a month when we create a new risk, the lastUpdatedDate is set to good date, but timestamps are always at 00:00:00 no matter what time we add a risk.
So basically, if I create a risk on 01/25/2024 at 4:36:13 PM, I see "createDate": "2024-01-25T16:36:13Z" which is correct, but "lastUpdatedDate": " 2024- 01-25T00:00:00Z"
...Is this normal? I don't remember it being handled like that before.

This phenomenon happens when we create a new risk, but when a risk is updated, the lastUpdatedDate is correct.

Regards,
Viviane

1 answer

0 votes
Jamie Giantonio
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 13, 2024

@WU Viviane is this still happening? i just ran a test and see a timestamp for lastUpdatedDate:

 

"createDate": "2024-03-13T14:08:53Z",
"closeDate": null,
"lastUpdatedDate": "2024-03-13T14:08:53Z"
WU Viviane March 13, 2024

Yes, it happens when a risk is created, but when the risk is updated it's good

I just retested, I created a new risk ans this is what I got:

"createDate": "2024-03-13T15:28:09Z",
"closeDate": null,
"lastUpdatedDate": "2024-03-13T00:00:00Z",
WU Viviane March 13, 2024

But if I modify the risk, therefore there is an update, then it's good I have:

"createDate": "2024-03-13T15:28:09Z",
"closeDate": null,
"lastUpdatedDate": "2024-03-13T15:34:53Z",
Jamie Giantonio
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 13, 2024

Strange! if not having the timestamp on the create is an issue for you, then i'd suggest you open a support ticket for someone to investigate further.

Like WU Viviane likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events