Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi,
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.
Thanks,
Raj
Hi,
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.
Hi,
It can be possible with Automation or Script runner, but I don't have Automation for Jira installed to check it out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you help me with the JQL to filter out the tickets which are due in days of the end date?
Thanks,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Raj Kumar ,
What do you mean by "due in days of the end date". If end date is a custom field and you want to create sub-task not more than 7 days before "end date", your condition should look like "end date" < 7d
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please find the JQL used it is not giving me the intended result can you please check and help.
Attaching screenshot for your reference.
In screenshot Start date =06/03/2019 and end date= 09/16/2019
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.