Hi
Hope everyone doing well
Whenever I am using smart value
{{now.plusBussinessDays()}} for automation it consider saturday and sunday as non-working days but I want to change this. I want only friday as non working day.
Although in my board setting I already define the working days
But whenerver automation runs it consider saturday sunday as non working day.
How I change this?
There is nothing built-in which can do that. In fact, several of the Jira features do not respect the site or project settings for working days (or non-working days as holidays).
There are a couple of work-arounds for this, depending on the complexity of your working days definitions:
Kind regards,
Bill
I'm not sure you can modify this for Automation - the Board Settings don't impact this, as Board Settings are not linked to Site/Project Settings.
According to this help page, business days are considered to be Monday to Friday, 9am to 6pm.
You could create a feature request for this? You can do this via: https://jira.atlassian.com/secure/Dashboard.jspa
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ste Wright Thanks for your response
Is there is no way or no smart value from where i consider working days as saturday to thursday and make friday as non wroking day?
because I did the automation in which all tasks are schedule automatically
but my working days are from saturday to thursday.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What's the full rule need to do?
It'd be good to understand where the business days smart value is being used, and how the wider rule is structured.
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I will expalin you in detail
I make a rule where when er created tasks the subtasks are created automatically and in subtasks I set the start date and due date with this smart value {{now.plusBusinessDays()}} so whenever someone create task the subtasks are created automatically and there start date and due date set automatically.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So what is the logic in relation to Start Date / Due Date?
Is it to set them to a certain number of days in the future? If so, how many days?
Ste
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.
Actually there is so many subtasks are genrated when a tasks created
and we fix there start and due dates for future by using {{now.plusBusinessDays()}}
for example for 1 subtask which will start after 2 day when task is created and it will take 2 days to complete so now for start date {{now.plusBusinessDays(2)}} and due date will be {{now.plusBusinessDays(3)}}
like this there is so many subtasks are created and there start and due dates are automatically generated but the problem comes with the working days because automation consider business days monday to thursday according to this it set the dates but I want the business days from saturday to thursday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your options here are:
---
I did do some testing for (1) - in summary:
---
So for example...
---
A few notes on the above rule:
---
Let us know if this works for you! Or if you need more detailed instructions, let us know the specific parameters of each Sub-task and we'll try to provide some additional guidance :)
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ste Wright
Thankyou so much you are helping me
I will explain you in more detail.
1) I created 1 task under these tasks almost 25 subtasks are created automatically (By automation)
Now I want to set the start date and due dates for all the subtasks for future but friday is non-working day so I want that all subtasks are schedule in working days
Perviously I used {{now.plusBusinessDays()}} this smart value for each subtask in start date field and due date field but as you know it consider saturday sunday as non working days.
Now the rule you explain me above did it fulfill my requirements? because I am not understanding this properly.
I want when task is created all subtasks start date and due date set automatically based on the task creation date and excluded friday.
for example
subtask 1 start date will be task creation date
and due date will be after 2 days
like subtasks 15 start date will be after 10 days of task created
and due date will be after 20 days of task created.
like this all subtasks will schedule.
keep in mind friday should not included in these days
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What I've recommended will work - but you're going to have to set the parameters...
So you might end up with either 25 automation rules (one per Sub-task), or one very large rule with lots of If/Else Block conditions.
For example...
You'll need to work out all the different possible combinations and then create rules based on those. It will be quite extensive though for 25 Sub-tasks.
Ste
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.
I've detailed an example in this comment, under the header So for example...
The reason I've documented this as text, rather than a screenshot, is because the latter wouldn't show each of the components needed per Trigger/Condition/Action - whilst documenting does!
Ste
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.
Make sure you've added the Condition If/Else Block at the appropriate point in the rule.
The first set of "sub Conditions" go in the first "IF" - on the rule screen it should come as something like:
You then need to add an "ELSE-IF" condition, for the second set of conditions/actions.
Just below your "IF" condition you should see "Add Else" in the rule. Click on this, and add the relevant "sub Conditions". Once you've added these, the "ELSE" will become "ELSE-IF" in the rule.
I've updated the previous comment to clarify this.
You can also see how the If/Else Block Condition works on this help page: https://support.atlassian.com/cloud-automation/docs/jira-automation-conditions/
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ste Wright Right now I have 2 issues
1) When I creatd the tasks the subttasks created automatically so they are not passed to the condition label
2) Also when I created subtask Manually I get error I will share the rule ..Kindly review
And also give me suggestion for 1st issue
Thanks
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.
You don't need the arrows (< >) in the actual rule - when I put "<Timezone Here>" that just shows that the location is placeholder for a timezone value.
So as an example, one the Condition smart values will be:
{{now.convertToTimeZone("Asia/Riyadh").dayofWeekName}}
Ste
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.