New to Jira so forgive me if I'm missing an obvious reference guide somewhere.
I am trying to automate the timeline/due date for subtask that are created when triggered but can't quite get the syntax of the command correct and can't find the correct reference for it.
For tasks non depedant on another task I have the start date as "Start date from Curruent Issue" which works fine, but how do I then say the due date is start date +3 business days. Currently I have {{Issue.Start date.plus business days(3)}} but it doesnt seem to do anything.
Additionally for start date variabilty, how would I reference the due date of a previous sub-task as a start date for a new subtask?
Please try the following syntax ...
{{issue.Start date.plusBusinessDays(3)}}
Sometimes things can get confused when there's multiple customfields with the same name (e.g. "Start Date" v "Start date", etc)
Thus, you can use the customfield ID to ensure it's using the correct one ...
{{issue.customfield_10067.plusBusinessDays(3)}}
I hope this helps.
That was exactly it! Now 2 questions,
How do I solve this syntax issue for my self in the future?
How can I make the start date of a subtask relative to a subtask that excuated just before it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Tim C an example of what I mean by that is, and I think one of my last big blockers is how do I make the start date of a task the end date of a subtask just ahead of it?
example
subtask A - Start date 1/5/23 (linked to main task which is based on assignment from a form) ------- End date 1/8/25 (+3 days past start date)
Subtask b - Start date = subtask A enddate ------- Enddate = subtask b start date + xDays
How do I get subtask B to referene a feild from subtask A?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please take a look at this documentation page to learn about the functions available for date/time fields in automation rules: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/
And if you look at the right side of that page near "Show more" you will find many other useful things for creating rules.
Kind regards,
Bill
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.