Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for help in date automation rules

Samuel Lavigne
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 11, 2025

Hi everyone!

I am new with Jira and would like some help with an issue.

I am looking to insert an automation with a manual trigger on an Epic project that would affect the due date of all children. I want the children issues to have a due date corresponding to the start date of the Epic project (inserted manually) plus a specific number of business days. The specific number of days is a number field for task inserted manually. 

In brief, when triggering the Epic project, I want all children to have a due date corresponding to the start date of the Epic project + a specific number of business days (inserted in each task manually in a number field). 

Hope someone can help me with that.

Thanks

1 answer

0 votes
John Funk
Community Champion
March 11, 2025

Hi Samuel - Welcome to the Atlassian Community!

Have you tried creating the rule at all? If so, can you share what you have? It's best to help you with what you have than create the rule for you from scratch. 

Samuel Lavigne
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 11, 2025

Hi John, thanks for the answer!

I have build the general automation - the manual trigger on Epic projects, the branching for children, and the due date edit issue field. 

I am now trying to enter some additional fields to connect the due date that I want. 

Here is what I have seen on websites and tried so far:

{{issue.parent.fields.customfield}} // Get the start date from the parent epic {{issue.fields.customfield}} // Get the calendar day from the current task {{#issue.parent.fields.customfield}}{{this}}{{/}} +{{#issue.fields.customfield}}{{this}}{{/}}d // Add the calendar day to the start date

To be honest, I understand the issue.parent.fields mechanic, but I'm not sure about the customfield...

Hope this helps you - don't hesitate to say otherwise!

Thanks!

 

 

John Funk
Community Champion
March 11, 2025

Can you share actual screenshots of your rule? 

John Funk
Community Champion
March 11, 2025

So the custom field is a number field I assume - to capture the number for the date field. Correct? Let's just say the name of the field is New Number. 

So the due date field would look like this:

{{triggerIssue.Start date.plusBusinessDays(issue.New Number.asNumber())}}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events