- Designing effective OKRs
- Create an objective
- View an objective
- View a key result
- Edit title and description
- View OKR system notes
- Comments and threads
- Assign users
- Assign labels
- Add an objective to a milestone
- Set objective progress
- Set health status
- Promote a key result to an objective
- Copy objective or key result reference
- Copy objective or key result email address
- Close an OKR
- Child objectives and key results
- Two-column layout
Objectives and key results (OKR)
Introduced in GitLab 15.6 with a flag named okrs_mvc
. Disabled by default.
OKRs are an Experiment. For the OKR feature roadmap, see epic 7864.
okrs_mvc
.
On GitLab.com, this feature is not available.
The feature is not ready for production use.Objectives and key results (OKRs) are a framework for setting and tracking goals that are aligned with your organization’s overall strategy and vision.
The objective and the key result in GitLab share many features. In the documentation, the term OKRs refers to both objectives and key results.
OKRs are a type of work item, a step towards default issue types in GitLab. For the roadmap of migrating issues and epics to work items and adding custom work item types, see epic 6033 or the Plan direction page.
Designing effective OKRs
Use objectives and key results to align your workforce towards common goals and track the progress. Set a big goal with an objective and use child objectives and key results to measure the big goal’s completion.
Objectives are aspirational goals to be achieved and define what you’re aiming to do. They show how an individual’s, team’s, or department’s work impacts overall direction of the organization by connecting their work to overall company strategy.
Key results are measures of progress against aligned objectives. They express how you know if you have reached your goal (objective). By achieving a specific outcome (key result), you create progress for the linked objective.
To know if your OKR makes sense, you can use this sentence:
I/we will accomplish (objective) by (date) through attaining and achieving the following metrics (key results).
To learn how to create better OKRs and how we use them at GitLab, see the Objectives and Key Results handbook page.
Create an objective
Prerequisites:
- You must have at least the Guest role for the project.
To create an objective:
- On the left sidebar, at the top, select Search GitLab () to find your project.
- On the left sidebar, select Plan > Issues.
- In the upper-right corner, next to New issue, select the down arrow and then select New objective.
- Select New objective again.
- Enter the objective title.
- Select Create objective.
To create a key result, add it as a child to an existing objective.
View an objective
Prerequisites:
- You must have at least the Guest role for the project.
To view an objective:
- On the left sidebar, at the top, select Search GitLab () to find your project.
- On the left sidebar, select Plan > Issues.
-
Filter the list of issues
for
Type = objective
. - Select the title of an objective from the list.
View a key result
Prerequisites:
- You must have at least the Guest role for the project.
To view a key result:
- On the left sidebar, at the top, select Search GitLab () to find your project.
- On the left sidebar, select Plan > Issues.
-
Filter the list of issues
for
Type = key_result
. - Select the title of a key result from the list.
Alternatively, you can access a key result from the Child objectives and key results section in its parent’s objective.
Edit title and description
Prerequisites:
- You must have at least the Reporter role for the project.
To edit an OKR:
- Open the objective or key result that you want to edit.
- Optional. To edit the title, select it, make your changes, and select any area outside the title text box.
- Optional. To edit the description, select the edit icon (), make your changes, and select Save.
View OKR system notes
-
Introduced in GitLab 15.7 with a flag named
work_items_mvc_2
. Disabled by default. -
Moved to feature flag named
work_items_mvc
in GitLab 15.8. Disabled by default. - Changing activity sort order introduced in GitLab 15.8.
- Filtering activity introduced in GitLab 15.10.
- Enabled on GitLab.com and self-managed in GitLab 15.10.
Prerequisites:
- You must have at least the Reporter role for the project.
You can view all the system notes related to the task. By default they are sorted by Oldest first. You can always change the sorting order to Newest first, which is remembered across sessions.
Comments and threads
You can add comments and reply to threads in tasks.
Assign users
To show who is responsible for an OKR, you can assign users to it.
Users on GitLab Free can assign one user per OKR. Users on GitLab Premium and Ultimate can assign multiple users to a single OKR. See also multiple assignees for issues.
Prerequisites:
- You must have at least the Reporter role for the project.
To change the assignee on an OKR:
- Open the objective or key result that you want to edit.
- Next to Assignees, select Add assignees.
- From the dropdown list, select the users to add as an assignee.
- Select any area outside the dropdown list.
Assign labels
Prerequisites:
- You must have at least the Reporter role for the project.
Use labels to organize OKRs among teams.
To add labels to an OKR:
- Open the objective or key result that you want to edit.
- Next to Labels, select Add labels.
- From the dropdown list, select the labels to add.
- Select any area outside the dropdown list.
Add an objective to a milestone
Introduced in GitLab 15.7.
You can add an objective to a milestone. You can see the milestone title when you view an objective.
Prerequisites:
- You must have at least the Reporter role for the project.
To add an objective to a milestone:
- Open the objective that you want to edit.
- Next to Milestone, select Add to milestone. If an objective already belongs to a milestone, the dropdown list shows the current milestone.
- From the dropdown list, select the milestone to be associated with the objective.
Set objective progress
Show how much of the work needed to achieve an objective is finished.
You can only set progress manually on objectives, and it’s not rolled up from child objectives or key results.
Prerequisites:
- You must have at least the Reporter role for the project.
To set progress of an objective:
- Open the objective that you want to edit.
- Next to Progress, select the text box.
- Enter a number from 0 to 100.
Set health status
Introduced in GitLab 15.7.
To better track the risk in meeting your goals, you can assign a health status to each objective and key result. You can use health status to signal to others in your organization whether OKRs are progressing as planned or need attention to stay on schedule.
Prerequisites:
- You must have at least the Reporter role for the project.
To set health status of an OKR:
- Open the key result that you want to edit.
- Next to Health status, select the dropdown list and select the desired health status.
Promote a key result to an objective
- Introduced in GitLab 16.0.
- Quick action
/promote_to
introduced in GitLab 16.1.
Prerequisites:
- You must have at least the Reporter role for the project.
To promote a key result:
- Open the key result.
- In the top right corner, select the vertical ellipsis ()..
- Select Promote to objective.
Alternatively, use the /promote_to objective
quick action.
Copy objective or key result reference
Introduced in GitLab 16.1.
To refer to an objective or key result elsewhere in GitLab, you can use its full URL or a short reference, which looks like
namespace/project-name#123
, where namespace
is either a group or a username.
To copy the objective or key result reference to your clipboard:
- On the left sidebar, at the top, select Search GitLab () to find your project.
- Select Plan > Issues, then select your objective or key result to view it.
- In the top right corner, select the vertical ellipsis (), then select Copy Reference.
You can now paste the reference into another description or comment.
Read more about objective or key result references in GitLab-Flavored Markdown.
Copy objective or key result email address
Introduced in GitLab 16.1.
You can create a comment in an objective or key result by sending an email. Sending an email to this address creates a comment that contains the email body.
For more information about creating comments by sending an email and the necessary configuration, see Reply to a comment by sending email.
To copy the objective’s or key result’s email address:
- On the left sidebar, at the top, select Search GitLab () to find your project.
- Select Plan > Issues, then select your issue to view it.
- In the top right corner, select the vertical ellipsis (), then select Copy objective email address or Copy key result email address.
Close an OKR
When an OKR is achieved, you can close it. The OKR is marked as closed but is not deleted.
Prerequisites:
- You must have at least the Reporter role for the project.
To close an OKR:
- Open the objective that you want to edit.
- Next to Status, select Closed.
You can reopen a closed OKR the same way.
Child objectives and key results
In GitLab, objectives are similar to key results. In your workflow, use key results to measure the goal described in the objective.
You can add child objectives to a total of 9 levels. An objective can have up to 100 child OKRs. Key results are children of objectives and cannot have children items themselves.
Child objectives and key results are available in the Child objectives and key results section below an objective’s description.
Add a child objective
Prerequisites:
- You must have at least the Guest role for the project.
To add a new objective to an objective:
- In an objective, in the Child objectives and key results section, select Add and then select New objective.
- Enter a title for the new objective.
- Select Create objective.
To add an existing objective to an objective:
- In an objective, in the Child objectives and key results section, select Add and then select Existing objective.
-
Search for the desired objective by entering part of its title, then selecting the desired match.
To add multiple objectives, repeat this step.
- Select Add objective.
Add a child key result
Prerequisites:
- You must have at least the Guest role for the project.
To add a new key result to an objective:
- In an objective, in the Child objectives and key results section, select Add and then select New key result.
- Enter a title for the new key result.
- Select Create key result.
To add an existing key result to an objective:
- In an objective, in the Child objectives and key results section, select Add and then select Existing key result.
-
Search for the desired OKR by entering part of its title, then selecting the desired match.
To add multiple objectives, repeat this step.
- Select Add key result.
Reorder objective and key result children
Introduced in GitLab 16.0.
Prerequisites:
- You must have at least the Reporter role for the project.
By default, child OKRs are ordered by creation date. To reorder them, drag them around.
Two-column layout
Introduced in GitLab 16.2 with a flag named work_items_mvc_2
. Disabled by default.
work_items_mvc_2
.
On GitLab.com, this feature is not available.
This feature is not ready for production use.When enabled, OKRs use a two-column layout, similar to issues. The description and threads are on the left, and attributes, such as labels or assignees, on the right.