Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
12dbf555
Commit
12dbf555
authored
Nov 07, 2017
by
Victor Wu
Committed by
Sean McGivern
Nov 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Label priority and Priority sort orders
parent
61b775ed
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
6 deletions
+23
-6
doc/user/project/img/label_priority_sort_order.png
doc/user/project/img/label_priority_sort_order.png
+0
-0
doc/user/project/img/labels_filter_by_priority.png
doc/user/project/img/labels_filter_by_priority.png
+0
-0
doc/user/project/img/priority_sort_order.png
doc/user/project/img/priority_sort_order.png
+0
-0
doc/user/project/labels.md
doc/user/project/labels.md
+23
-6
No files found.
doc/user/project/img/label_priority_sort_order.png
0 → 100644
View file @
12dbf555
99.3 KB
doc/user/project/img/labels_filter_by_priority.png
deleted
100644 → 0
View file @
61b775ed
37.8 KB
doc/user/project/img/priority_sort_order.png
0 → 100644
View file @
12dbf555
99.8 KB
doc/user/project/labels.md
View file @
12dbf555
...
...
@@ -77,15 +77,32 @@ having their priority set to null.
![
Prioritize labels
](
img/labels_prioritize.png
)
Now that you have labels prioritized, you can use the '
Priority' and 'Label
priority' filt
ers in the issues or merge requests tracker.
Now that you have labels prioritized, you can use the '
Label priority' and 'Priority'
sort ord
ers in the issues or merge requests tracker.
The 'Label priority' filter puts issues with the highest priority label on top.
In the following, everything applies to both issues and merge requests, but we'll
refer to just issues for brevity.
The 'Priority' filter sorts issues by their soonest milestone due date, then by
label priority.
The 'Label priority' sort order positions issues with higher priority labels
toward the top, and issues with lower priority labels toward the bottom. A non-prioritized
label is considered to have the lowest priority. For a given issue, we _only_ consider the
highest priority label assigned to it in the comparison. (
[
We are discussing
](
https://gitlab.com/gitlab-org/gitlab-ce/issues/18554
)
including all the labels in a given issue for this comparison.) Given two issues
are equal according to this sort comparison, their relative order is equal, and
therefore it's not guaranteed that one will be always above the other.
![
Label priority sort order
](
img/label_priority_sort_order.png
)
The 'Priority' sort order comparison first considers an issue's milestone's due date,
(if the issue is assigned a milestone and the milestone's due date exists), and then
secondarily considers the label priority comparison above. Sooner due dates results
a higher sort order. If an issue doesn't have a milestone due date, it is equivalent to
being assigned to a milestone that has a due date in the infinite future. Given two issues
are equal according to this two-stage sort comparison, their relative order is equal, and
therefore it's not guaranteed that one will be always above the other.
![
Priority sort order
](
img/priority_sort_order.png
)
![
Filter labels by priority
](
img/labels_filter_by_priority.png
)
## Subscribe to labels
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment