How to add dependencies to a Gantt chart in Confluence

By Jake Marsh · Updated

To add a dependency to a Gantt chart in Confluence, put the chart in a Milewell roadmap, hover the task that has to finish first and drag the small dot at the end of its bar onto the task or milestone that waits for it. Milewell draws an arrow between them, and the arrow turns red whenever the later task starts before the earlier one ends.

Before you start

  • Confluence's built-in Roadmap Planner has bars and markers but no dependency arrows.
  • Anyone who can edit the page can add or remove dependencies. Everyone who can view the page sees them.

Steps

  1. Add a Milewell roadmap: edit the page, type /Milewell, pick Milewell roadmap, publish, then Start blank.
  2. Add the tasks. Click + Lane for each team or phase and + Bar for each task. Drag the ends of each bar to its start and end dates.
  3. Add milestones with + Milestone for single-day events such as a sign-off or a go-live, and drag the diamond to its date.
  4. Draw a dependency. Hover the bar that comes first. Drag the dot at its end onto the bar or milestone that waits for it, and let go.
  5. Or pick it from a list. Select the task that waits, open Waits for... in the panel on the right and choose the task it depends on. This is quicker on a crowded chart.
  6. Remove one by clicking its arrow, then Remove dependency.

Reading the arrows

ArrowWhat it means
Gray, from the end of one bar to the start of the nextThe later task starts on or after the earlier one ends
RedThe later task starts before the work it waits for ends, so one of the two dates needs to move

When a red arrow appears, drag the later bar to the right or the earlier one's end to the left until it turns back. Each move is saved as a new version, so History shows when the dates moved and who moved them.

Loops are refused

If task A waits for B and B waits for A, nothing could ever start. Milewell refuses a dependency that would make a loop, including longer ones (A waits for B, B for C, C for A), and says why instead of drawing it.

A worked example

A website launch has three lanes: Design, Build and Launch.

  1. In Design, a bar "Page designs" runs for two weeks.
  2. In Build, "Front end" starts the day after the designs end and runs for three weeks. Drag the dot at the end of "Page designs" onto "Front end".
  3. In Launch, a milestone "Go live" sits two days after "Front end" ends. Drag the dot at the end of "Front end" onto the diamond.
  4. The designs slip by a week: drag the end of "Page designs" a week later. The arrow into "Front end" turns red, which tells you the build start has to move too.

What it costs

Milewell is $15 a month for up to 10 users, or $150 a year. From 11 users it is $1.50 per user a month, with lower rates for larger sites. Atlassian bills it, with a 30-day free trial. Install it and see every feature on the Milewell page, or read the Milewell documentation.

Milewell: Roadmaps and Gantt for Confluence

Roadmaps and Gantt charts on Confluence pages that save every change as a version, with dependencies, milestones and Jira links. From $15 a month for up to 10 users.


Questions

Does moving one task move the tasks that depend on it?

No. Milewell shows the problem with a red arrow and leaves the decision to you, so no date changes without someone choosing it.

Can a milestone depend on a task?

Yes. Drag from the end of a bar onto a milestone's diamond, or pick the task in the milestone's Waits for... list.

How many dependencies can one chart have?

Up to 3,000 per roadmap, alongside up to 3,000 bars and 1,000 milestones.

Do dependencies come across in a CSV import?

Yes. Put the titles of the tasks a row waits for in a Depends on column, separated by semicolons.


More Milewell guides


More Confluence guides