Create and Use a Gantt Chart
Gantt charts are the perfect tool for planning initiatives and tracking progress toward your goal. Set start dates, end dates, and durations, add finish-to-start dependencies, and enforce resource constraints, so you know exactly how long it will take to finish your efforts. Once your project is underway, you can schedule and assign tasks without losing sight of the bigger picture.
Permissions
Any user who has the Read Issue permission in a project can create a Gantt chart. As long as you have permission to read issues, you can create a chart and monitor the progress of issues in the project.
Gantt charts are designed for active scheduling and management of project activity. To use the chart effectively, you need to have the Update Issue permission in any project where you want to place its issues on the timeline.
If you want to add issues directly to the chart as you update the project plan, you need to have the Create Issue permission.
To let other users view and use the chart, you need to be a member of a group where the Share Custom View feature is active. To learn more about this feature, see Optional Features.
Create a Gantt Chart
Any time you want to map out the next steps for a project, you can create a dedicated Gantt chart to track your efforts. It doesn't matter whether you use the chart to track all the issues in your project or not. Your fastest track to completion usually requires that you focus in on a specific goal and avoid distractions.
In any case, the decision to include or exclude any issue in your project plan is entirely up to you.
To create a new Gantt chart:
From the main navigation menu, select
Gantt Charts.
Click the New Chart button.
The New Gantt Chart dialog opens.

On the General tab, enter values for the following settings:
Setting
Description
Name
Enter a name for the new chart.
Projects
Add the projects where the activity you want to track on the chart take place. This setting determines which projects are considered when issues are created directly on the chart as well as the list of existing issues that can be added to the chart.
The list is filtered to show projects where you have been granted the Read Project Basic permission.
Start date
Select the date when you plan to launch the project. This setting determines which start date is assigned to issues when they are added to the chart and is used as the starting point for the entire project plan.
The current date is set as the default value.
You can also expand Advanced Settings on this tab to configure milestones, scheduling fields, and link types. For a full list of available settings, see Configure a Gantt Chart.
On the Appearance tab, choose which issue information is shown on bars in the timeline.
Setting
Description
Visible fields
Select which issue fields are shown on bars in the timeline when values are available.
Show assignee
Shows assignee avatars on bars in the timeline.
Show tags
Shows issue tags on bars in the timeline.
On the Constraints tab, enable and configure either or both the following settings if you want to enforce resource constraints in your project plan:
Setting
Description
Work in progress
If you want to limit the amount of work in progress on a daily basis, enable this option. The value corresponds to the number of issues that can be scheduled simultaneously. Use this setting to measure how much time is required to finish scheduled tasks when resource constraints limit the number of tasks that can be performed at the same time.
When enabled, use the Capacity setting to specify the maximum number of issues that should be in progress at any time.
Field value constraint
If you want to limit the number of issues that are scheduled simultaneously for a single value in a specific field, enable this option.
Use this setting to limit the number of issues in progress for each member of your team, which would typically be stored in the Assignee field. You can also limit the number of issues by subsystem, priority, or type.
When enabled, use the Field setting to determine which field is used as the value constraint.
For additional information, see Manage Constraints.
If you want to share the chart with your colleagues, update the settings on the Sharing tab.
Setting
Description
Can view and use
To share the chart with other users, select one or more users, groups, or teams from the list.
When this setting is undefined, the chart is only visible to you.
Can configure
To let other users update the chart settings, select one or more users, groups, or teams from the list.
When this setting is undefined, you are the only one who can view and edit the chart settings.
When you're happy with the configuration, click the Create button.
You can always update the Settings for your chart at a later time from the
More menu by the chart name.
Open a Gantt Chart
After a Gantt chart has been created, you can open it from the header by clicking the name of the current Gantt chart followed by a . Use the drop-down menu to switch between available charts and mark frequently used charts as favorites for quicker access.
To open an existing Gantt chart:
Add Issues to the Chart
When you create a new chart, you are shown a blank slate. Even though you chose which projects you wanted to work with in the chart settings, the tasks that you want to include in this initiative are still undefined. To flesh out the project plan, you can either create new tasks directly on the chart or find existing issues and add them all at once.
Use the New issue button or link in the sidebar to create a new issue. You can also create issues from empty space in the bars area when you know where the task belongs on the timeline.
To build a list of tasks directly on the chart:
From the main navigation menu, select
Gantt Charts.
Click the New issue button or link in the sidebar.
The New issues button opens a full new issue view. Click Create after you finish filling out the issue. The issue will be created and added to your chart.
Click the New issue link to quickly create an issue by only entering an issue summary. Press the Enter key or click the
Create issue icon to create the issue and add it to your chart.

Continue adding issues until you reach the task that represents the final step in the project plan.
If you want to add subtasks to any of the items in your list, click the
Create a new subtask icon and add them in a similar way.

When done, you can go through each issue and set the scheduling values that place each issue on the timeline.
To create an issue from the timeline:
From the main navigation menu, select
Gantt Charts.
Move your pointer over to the first empty row of the chart in the bars area.
Click the
New Issue button that appears in the selected cell.

Enter a summary in the popup, then click Create.
To set more issue fields before creating the task, expand the draft to open the full issue creation dialog.
Projects don't always spring up out of nowhere. If your team has already compiled a list of issues you'd like to tackle as a singular initiative, you can add them all at once and use the chart to plot the path to your goal.
To add existing issues:
From the main navigation menu, select
Gantt Charts.
Click the Add existing button.

Enter a search query in the input field to find issues that you want to add to the chart. Query Assist suggests search attributes and values from the projects that are included in the chart. Use the
button to switch between Simple and Advanced search mode.

Use the
option at the top of the list to add all the issues that match the query. Issues that are already on the chart are excluded from this action.
You can add up to 1000 issues at a time. To add fewer issues, update the search query before you continue.
Otherwise, add single issues by clicking the Add issue button for each issue that you want to add to the chart.
When done, click the Close button.
Set scheduling values for the issues you added to place them on the timeline.
For more information, see Set the Schedule.
To add an exiting issue from the timeline:
Even the best-laid plans can go astray, or so the saying goes. Just remember that change doesn't always spell disaster.
Any time you face an unexpected change of events, you can quickly update your plan and move forward.
Navigate the Timeline
Use the navigation controls in the chart toolbar and timeline area to move between different parts of your project plan.
Click Today to move the timeline to the current date.
Use the scale selector to switch between Day, Week, Month, Quarter, and Year views.
Use the Zoom out and Zoom in controls in the timeline area to change the zoom level. Click the percentage value to reset the zoom level to 100%.
Click and drag empty space in the timeline area to pan horizontally or vertically.
When you work in Month, Quarter, or Year view, task bars use working-day increments when you move or resize them on the timeline. This lets short tasks keep their actual duration instead of expanding to fill an entire week, month, or quarter. Working days and hours are defined in the time tracking settings.
Set the Schedule
A major part of project planning involves deciding what to do. Once you've done that, you also need to estimate how long it should take and when it can be done.
The Gantt chart contains a wide range of tools that help you determine exactly what needs to be taking place every step along the way.
Work Periods
Working days and hours are defined in the time tracking settings. Here, you can define the working days and hours of the week according to the structure of your team.
By default, the time tracking settings exclude weekends. Update the settings to assign tasks on the Gantt chart for these days.
Planning Mode
The Planning mode setting determines which values are used to place each issue on the timeline. Depending on the selected planning mode, the chart uses two of the following values: Start date, End date, and Duration.
Start date and end date: Use this mode when you know when each task should begin and finish. YouTrack calculates the duration from the selected date range.
Start date and duration: Use this mode when you know when each task should begin and how long it should take. YouTrack calculates the end date.
Duration and end date: Use this mode when you know how long each task should take and when it must be finished. YouTrack calculates the start date.
The planning mode determines which scheduling fields are shown for issues on the chart. To review or update the selected mode, open the settings for the chart, expand Advanced Settings on the General tab, then update the Planning mode setting. For more information, see General Settings.
Start Dates
The Start date field in the settings for your chart determines the earliest possible calendar date for scheduling work. If there are issues on your chart where the start date has been set before the start date stored in this field, click the Recalculate button in the toolbar to update them.
Each task in the issue sidebar has its own Start date setting. Use this to track activity that is scheduled to happen on a specific date.
You can either set the start date for an issue by updating the value for the Start date field in the sidebar or use your mouse to select the desired date in the corresponding row in the timeline.

If an issue is listed in the sidebar but doesn't have a bar on the timeline, move your pointer over the empty row in the bars area and click the button on the date when work should start.
When a task bar is outside the current date range, YouTrack shows an arrow at the edge of the bars area. Click this arrow to scroll to the start date for the task.

The chart settings also give you the option to synchronize start dates with the values for a specific field in your project. When you configure this option, you can manage start dates directly in each issue without opening and recalculating the chart.
If you work with a chart that doesn't link to a start date field, the start dates for tasks on the chart are totally disconnected from any issue field that may contain this information.
End Dates
The Gantt chart lets you plan work based on the date when an issue is expected to finish. When the selected planning mode uses end dates, you can update the End date value for issues on the chart.
The chart settings give you the option to synchronize end dates with the values for a specific field in your project. When you configure this option, you can manage end dates directly in each issue without opening and recalculating the chart.
If you work with a chart that doesn't link to an end date field, the end dates for tasks on the chart are stored exclusively in the Gantt chart. These dates are not represented anywhere in the underlying issues.

End dates are inclusive. When an issue ends on a specific calendar day, that day is included in the planned range for the task.
Duration
The Gantt chart lets you define how long each task should take. When the selected planning mode uses duration, the duration displayed on the chart can be synchronized with the value stored in the Duration field from the chart settings.
If you work with a chart that doesn't link to a duration field, the duration of each task is represented by the length of each bar on the chart. These values are stored exclusively in the Gantt chart and are not represented anywhere in the underlying issues.
To update duration values on the chart:
Milestones
Milestones help you mark important dates on the project timeline. Issues that are marked as milestones are highlighted on the chart and shown as milestone markers in the timeline header.
The way milestones are assigned depends on the Milestone source setting for the chart. For more information, see General Settings.
When the milestone source is set to Manual, you can mark or unmark individual issues directly on the chart.
When the milestone source is set to Field, issues are shown as milestones when they store the selected value in the selected field.
When the milestone source is set to Tag, issues are shown as milestones when they have the selected tag.
To mark an issue as a milestone manually:
From the main navigation menu, select
Gantt Charts.
Open a chart where the Milestone source setting is set to Manual.
In the issue sidebar, open the actions menu for the issue that you want to mark as a milestone.
Select Convert to milestone.

To remove the milestone marker, open the same menu and select Unmark as milestone.
Dependencies
One of the critical components of project planning is the ability to designate which tasks need to be completed before others can begin. On the Gantt chart, these are represented using standard finish-to-start dependency relationships.
In the issues themselves, these relationships are stored as issue links. These correspond with the link type stored as the Dependency link in the chart settings. Every time you add a dependency link between two tasks on the chart, the selected link type is added to these issues. The direction of the dependency depends on which issue you select to finish before the other can start.
To add dependencies between issues:
From the main navigation menu, select
Gantt Charts.
Move your pointer over the issue that must be finished first, then click the
Add dependency link icon to the right of the bar on the chart.

While linking mode is active, a dashed guideline follows your pointer to help you choose the target task.
Drag and drop the dependency link to the issue that requires completion.

You can also create links in the opposite direction by clicking the icon to the left of any dependent task and connecting it to its predecessor task.
To remove a dependency link between two issues, select the link, then click the
Remove link icon.
Organize Your Tasks
By default, issues shown in the sidebar are placed in the order that they were added to the chart. If you want to change the order for issues on the chart, use the control to the left of the issue to drag it to the desired location in the list.

If you have a hard time finding the precise location to drop an issue, use the controls in the sidebar to hide subtasks for parent issues.
Recalculate the Timeline
Once your project is underway, you'll need to make adjustments to accommodate for activity that deviates from the original plan. Some tasks may take longer than anticipated, while others may happen faster than planned or turn out to be completely unnecessary.
Whenever you need to update your project plan and refresh the chart, click the Recalculate button in the toolbar. This action updates the schedule for issues on the chart as follows:

For issues that depend on tasks where the spent time is greater than their original duration, the dependent tasks are delayed accordingly.
For issues that were resolved faster than their original duration, the dependent tasks are rescheduled to earlier dates.
For issues where finish-to-start dependency links have been added, dependent tasks are scheduled to start following the completion of their predecessors.
Issues that don't have dependency links and are not assigned start dates are scheduled to start on the same date that is used as the Start date in the chart settings.
Manage Constraints
The Gantt chart supports standard constraints that limit the amount of work in progress at any given point in time as well as a cap on issues that are assigned a specific value for a custom field. These limitations are configured in the Constraints section of the settings for the chart. For more information about these settings, see Constraints.

Work in Progress
This option lets you measure how much time is required to finish scheduled tasks with a set number of resources. You can use this setting to judge whether you can finish your tasks on time with your current resources and measure how much faster you can complete these tasks when you add resources to the team.
When enabled, you can increase or decrease the value for the Capacity field to determine whether it would be possible to accelerate the timeline by adding people to the project or not.
If conflicts are found, the Gantt chart displays a warning above chart and which issues have conflicts under the Issue summary.
Resolve conflicts by:
Shifting the conflicting issues on the timeline to not exceed the capacity setting.
Removing the issues from the Gantt chart.
Adding a higher value for the capacity field in the chart settings.

Field Value Constraints
This option lets you limit the number of issues that are scheduled simultaneously to one for each value in the selected custom field.
Use the Assignee field for this setting to ensure that your team isn't overburdened with too much to do at once. You can also limit the number of issues by subsystem, priority, or type.
If conflicts are found, the Gantt chart displays a warning above chart and which issues have conflicts under the Issue summary.
Resolve conflicts by:
Shifting the conflicting issues on the timeline so that the specified issue fields aren't scheduled simultaneously.
Removing the issues from the Gantt chart.
Replacing the value in the conflicting issue for the specified field in the settings.

Track Your Progress
Once your project is underway, use the information on the chart to determine whether your plans are still on track or you have started to fall behind schedule.
The fixed color scheme applied to each task on the chart gives you an indication of its current status. The exact tones are adapted for light and dark themes.


Use the information in the following table to interpret the colors applied to tasks in the chart.
Color | Status |
|---|---|
Blue | Indicates that the task is unresolved and the spent time is less than or equal to the duration. The current amount of spent time is displayed in a darker blue. |
Red | Indicates that the task is unresolved and the spent time is greater than the duration. The amount of spent time that exceeds the duration is displayed in a darker red. |
Green | Indicates that the task is resolved.
|
Yellow | Indicates that the issue is marked as a milestone. |



