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
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.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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())}}
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.