Hi
I tried to get the parent issue key of the US (the EPIC issue Key) on a specific Day in the past
to check if the US was linked with another EPIC in the past
This is what I would like to do :
with epicID = parent{issuekey}:
with epicIDH = parent{historical_value(this, "issuekey",date("2024-01-20"))}:
if issueType=EPIC:
"--"
else if epicID=epicIDH :
"No Change"
else :
"The US has been moved from an EPIC to another one"
As it was not working I debugged and simplified the script :
with epicIDH = parent{historical_value(this, "issuekey",date("2024-01-20"))}:
epicIDH
=> I got no answer.
So I do the same for the "today value"
with epicID = parent{issuekey}:
epicID
And here, I got the key ! OK
Why this doesn't work in the past ? Perhaps this field is not supported in historical value?
Many thanks in advance,
Best regards
Agnes
I found a best way to get the key of the parent (which is an EPIC) using the EpicLink directly on the US. No need to read an attribute on the parent
with epicID = EpicLink:
with epicIDH = historical_value(this, "EpicLink",date("2024-01-20")):
if epicIDH =epicID:
"-"
else:
concat("Previous Epic : ",epicIDH)
This is OK, I can get the information when the US was moved from on EPIC to the current one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.