I'm trying to configure an automation rule for change management requests in my Jira Service Management project.
Basically, I have a custom field (Date Time Picker) called Planned Start Date. I want to make a decision based on when the request is planned to be implemented.
If change is planned to occur on Saturday or Sunday, I want to make a transition to state 1. Else:
If change is planned to occur from 8AM to 10PM, I want to make a transition to state 2. Otherwise, I want to make a transition to state 1.
I tried to use "Planned Start Date".dayOfWeekName, but it does not work. Or "Planned Start Date".endOfDay(-2h), for instance, and it does not work also.
Any thoughts?
It works using ENDOFWEEK and STARTOFWEEK properties.
Hi @Renatão ,
the correct way to get the day of the week with Smart value is :
{{"Due Date".format("EEEE")}}
You can then use this to compare with a date in your IF statement.
Let me know if this helps,
--Alexis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.