Hi Comunity, I need your help to troubleshoot (solve) this:
This is my custom field (date and time): "Overtime Start"
ID = customFieldId_11506
I'm trying to compare if the time is set after 18:00 using Automation.
This is what I have configured:
{{customFieldId_11506.isAfter(customFieldId_11506.withHour(18))}}
The automation runs with no errors, but can't match the condition:
No actions were performed.
(action is just add a comment)
Can you help me?
Thanks in advance
@Humberto Gomes i think the problem is the .withHours statement; maybe this works for you:
First value:
{{issue.customField_11506.getHour()}}
Condition:
greater than
Second Value:
18
maybe this is also of interest:
https://community.atlassian.com/t5/Jira-questions/Can-t-access-Custom-Field-value-in-Jira-Automation/qaq-p/730676
@Markus W_ BENES Awesome. It works.
I can't find documentation to see more options for this "get" parameter.
Do you know?
What more "get" options there are?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Many Thanks for your Support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.