Forums

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

Project Timeline view

Vincent Leconte
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!
June 21, 2024

 

Is there a way to enable the parent issue (whether this is a task or an epic) to pick up the start date and due date from its own children issues ?

I read the page bellow, but in my case when I set the due date and the start date for a task in a epic, it's own timeline remains empty. 

 

 

https://support.atlassian.com/jira-software-cloud/docs/add-issues-to-epics-on-the-roadmap/

 

Capture d’écran 2024-06-21 120538.png

1 answer

1 vote
Jovin
Community Champion
June 21, 2024

Hey @Vincent Leconte

This is a great question and you'll need to dive into Automation for this one to work. You can find automations by going to Project Settings > Automation.

Here is a basic automation rule that could do this for you:

  1. Trigger: Field value changed
    1. Fields to monitor for changes: Start date, Target end (or whatever your dates are on the timeline)
    2. Change type: Any changes to the field value
    3. For: All issue operations
  2. Condition: Issue fields
    1. Field: Issue type
    2. Condition: is one of
    3. Value: Story, Task, Subtask (anything not a "top level")
  3. For each: Branch rule / related issues
    1. Type of related issues: Parent
  4. Add to branch: Condition: {{smart values}} condition
    1. First value: {{issue.Start Date}}
    2. Condition: greater than
    3. Second value: {{triggerIssue.Start Date}}
  5. Add to branch: Then: Edit issue
    1. Fields: Start date
    2. Click the ... next to the field and choose Copy
    3. Click on "Copy Start date from Current issue"
    4. Change it to "Trigger issue"

Repeat steps 3-5 but for "End date" and the condition should be "less than". This will make sure that the Parent ticket always has the earliest start date from all children, and the latest end date from all children.

Vincent Leconte
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!
June 21, 2024

Thanks so much for your help, everything works perfectly. 

Now I want to go deeper, and modify a task AND an epic when I set up the date for a sub-task, could you help me with that ? 

Thanks

 

Suggest an answer

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

Atlassian Community Events