Hello, I am looking to create an automation for a service project that will determine if an issue was entered during the current work week.
The end goal is to adjust the Change Type field to "Emergency" if the Deployment Time\Date is within the current week.
I am having some trouble with Issue Fields Condition as I can't use the startOfDay() JQL function.
I have tried the following using the JQL condition
"Deployment Time" < endOfWeek(-1)
Do I need to specify something further for the field potentially?
I used a JQL condition ""Deployment Date/Time" < endOfWeek()" to trigger the priority to set to an Emergency type.
The end results being that if someone submits a change request for the current week, additional approvals will be required and the type changes away from a Normal request.
Hello @John Block
Instead of Issue fields condition, you can choose If Condition -> JQL search and give your JQL there.
Also, please share full screenshot of your rule to understand anything else which may impact your rule.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Kalyan Sattaluri , I appreciate your response.
I've changed it to "if:Issue matches JQL" and have added the argument:
"Deployment Date/Time" < endOfWeek(-1)
The goal being if the issue is created during the same week, it will add a specific approver and then change the type to an emergency request. It should also check if a certain category is selected and have a set list of approvers for those as well.
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.