Dependency Links
The dependency links are derived from the work item links. This is controlled by Widget Parameter > Dependency Role
Dependency Role - select what Work Item link roles should be used to detect Depends-on relationships. If empty, no dependencies will be shown. If you select multiple link roles, the first role is used when creating new links.
If you do not want to let the user create dependency links, put following property to Widget Parameter > Advanced > Gantt Config Script parameter:
gantt.config.drag_links = false;
Advanced Dependency Types
Since: Gantt version 2.7.0
You can configure Nextedy GANTT to manage advanced dependency types:
"finish_to_start" - the target task can't start before the source task ends (but it may start later).
"start_to_start" - the target task can't start until the source task starts (but it may start later).
"finish_to_finish" - the target task can't end before the source task ends (but it may end later).
"start_to_finish" - the target task can't end before the source task starts (but it may end later).
Enable Dependency Types - keep just FINISH_TO_START
You can enable these advance dependencies using a Project/Global administration page > Configuration Properties
nextedy.gantt.default.advanced_dependencies=true
Hide gantt_dependency_metadata
When using Advanced Dependency Types, Gantt stores this meta-information in the custom field called:
"gantt_dependency_metadata"
This custom field shall be hidden to the end users, to do so, make sure this custom field is hidden in Form Configuration
Optional
If you want to map the different dependency types to different link roles in Polarion, you can configure the link role mapping in Configuration Properties.
Put following lines to Project / Repository Administration > Configuration Properties and adjust them accordingly.
nextedy.gantt.workitems.linkRoles.start_to_start=your_SS_depends_on_role_id nextedy.gantt.workitems.linkRoles.start_to_finish=your_SF_depends_on_role_id nextedy.gantt.workitems.linkRoles.finish_to_finish=your_FF_depends_on_role_id nextedy.gantt.workitems.linkRoles.finish_to_start=your_FS_depends_on_role_id
Note: you can actually specify multiple link roles (for example due to the fact that you have different dependency roles for different work item types. I.e. the configuration holds comma-separated list of link role ids.
nextedy.gantt.workitems.linkRoles.finish_to_finish=dependency_feature_ff,dependency_task_ff
Videos
Advanced Dependencies Off
The link is switched automatically to Finish-to-start
Advanced Dependencies On
The link type is kept (in this case Start-to-start)
- Some ilustrated examples of different dependencies:
"finish_to_start" - the target task can't start before the source task ends (but it may start later).
"start_to_start" - the target task can't start until the source task starts (but it may start later).
"finish_to_finish" - the target task can't end before the source task ends (but it may end later).
"start_to_finish" - - the target task can't end before the source task starts (but it may end later).
- Note! When you have a specific dependency type selected, but the rules of dependency are violated, it shows as a red-dotted line under the wrongly located task on the Gantt Chart:
As you can see the dependency selected here is "start_to_finish", but the target task ends before the source task starts, which is a dependency constraint violation.
To remove this line and avoid dependency issues you should move the task corresponding to the selected dependency rules.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article