Hello,
Can you please help me with the Jira expressions condition to Evaluate whether the previous status was "Open"
(issue.changelogs.filter(c => c.items.filter(i => {i.field.includes("status") } ).length > 0).length > 0)
So far I am able to check whether the status was changed at any time in issue history.
Now I wish to check the latest changelog alone and find if the fromString is "Open"
Sample payload FYR:
"items": [
{
"field": "status",
"fieldtype": "jira",
"fieldId": "status",
"from": "1",
"fromString": "Open",
"to": "3",
"toString": "In Progress"
}
]
Thanks,
Majo