What is the Milestone?
The "milestone" item has no duration. It is used to represent an important milestone in a plan. This settings will not extend the set of items visible. It just tells Gantt that if Work Item is e.g. of type "release", it should be processed as "milestone" item.
Let's find out more about the functionality of the Gantt regarding this topic.
- The first approach is pretty straightforward:
- Open Gantt Widget Parameters;
- Find Work Item Types Configuration;
- Select the "Item Type" that you want to present as a milestone;
- Select "Milestone" Gantt presentation mode;
- Save the changes.
2. The second approach can be used when you'd like to specify some additional conditions besides the type of the work item:
- In this case, you should scroll through the Gantt Widget Parameters to the Advanced section;
- And perform some scripts in the "Item Script" field;
It would look somehow like this:
if(wi.getType().getId()==="nameOfWorkItem" && your other conditions){ task.type="milestone" }
Let's take a look at the example: you want to present as a milestone wi of the specific type only in status "open":
As soon as a work item has different property (in this case we changed its status) it changes its behavior and is presented as a regular task instead of a milestone:
Of course, you can add multiple different conditions depending on your project needs, so be sure that there is probably a solution to nearly every situation.
Also, take a look at the article describing what API can be used in the Item Script: click here
If you have any questions, please contact support: [email protected]
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