Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a milestones in GitLab

Tags:

git

gitlab

I'm kind of new to Git and I'm using a GitLab repository to track my issue list. I wanted to create milestones but I can not find where. Are milestones and issue tracking part of the git itself and not of Gitlab?

EDIT: This is my milestones page screenshot: There is no new Milestone button on it

like image 549
Hoffmann Avatar asked Oct 24 '13 13:10

Hoffmann


People also ask

Why are milestones used in GitLab?

Milestones in GitLab are a way to track issues and merge requests created to achieve a broader goal in a certain period of time. Milestones allow you to organize issues and merge requests into a cohesive group, with an optional start date and an optional due date.

What is creating milestone?

A milestone is a group of tasks within a project. Milestones help you track a project at various levels and manages the internal dependencies within a set of tasks.


1 Answers

Are milestones and issue tracking part of the git itself and not of Gitlab?

No, they are part of GitLab only, not git.

If that hasn't change from issue 339, you have a "new milestone" button in the Issues section, tab 'Milestones':

http://cloud.github.com/downloads/gitlabhq/gitlabhq/milestones.png


As the OP Hoffmann reports: the presence of this button depends on your role (or abilities).

As you can see in ability.rb, only the ability 'master' allows to create / manage milestones:

def project_master_rules
  project_dev_rules + [
    :push_code_to_protected_branches,
    :modify_issue,
    :modify_project_snippet,
    :modify_merge_request,
    :admin_issue,
    :admin_milestone,                   <=============
    :admin_project_snippet,
    :admin_team_member,
    :admin_merge_request,
    :admin_note,
    :admin_wiki,
    :admin_project
  ]
end
like image 141
VonC Avatar answered Sep 18 '22 09:09

VonC