We have a workflow transition where we have a post function to create a subtask but I want this subtask to be created only before 7days of the end date. How can we achieve this?
I tried a validator which blocks the transition until I reached 7days of the end date and then using project automation to perform the auto transition but had no luck.
Below is the JQL used as automation rule condition;
issuetype = "Leave of Absence" and status="Leave of Absence In Process" and "End date" >= -7d
Your earlier response is appreciated.
Please note that validator is executed against main inssue, not sub-task.
To obtain your goal you can use Workflow PowerBox app. It has option to run post function based on some condition (eg. when it's less than 7 days till end date).
It also has option to run validator using JQL.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events