Hello,
I’m trying to send slack alert in which I want to set the {{ctx.periodStart}} to be displayed in IST.
Hoping for help.
Thank you.
Hello,
I’m trying to send slack alert in which I want to set the {{ctx.periodStart}} to be displayed in IST.
Hoping for help.
Thank you.
you may have to use a painless script like this
{{ctx.periodStart}}.value.withZoneSameInstant(ZoneId.of("Asia/Kolkata"));
Thank You @jathin12 for replying but the periodStart is not parsed to IST and it prints the whole line in the alert message.
Attaching the screenshot, Check the Message Preview.
Hello,
I have the exact same issue and it behaves as described by @ yogesh_zyzz
v 2.9.0
is there a way to fix this ? thank you.
I am running into same issue is there a solution for this? I read through a lot of documentation but not finding anything.