Hello there,
I am seeking to achieve the following scenario using "Automation For Jira".
Custom Field:
Created outside working hours: (Radio Button)
* Yes
* No
Scenario:
If the ticket is created after the working hours (18:30 - 7:30) then custom field should show YES or else it should show NO.
How to achieve the above scenario using Advanced Compare Conditions of Automation for Jira Add-on.
Regards,
Sami Ahmed Shaik.
Hi @Sami
You can try building this using time values returned as described here: https://support.atlassian.com/jira-software-cloud/docs/smart-values-date-and-time-functions/
With that you can check if the time is after a specific hour.
I hope it helps.
Regards
Ismael,
Thanks for the response. I am trying to achieve using the following way but its not helping me out, always value is set to NO.
where I am doing wrong?
--
SSA.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sami
Please use {{issue.created.convertToTimeZone("CET").format("HH:mm")}} instead.
Replace CET with your time zone.
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.