Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
ubicli
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
devtools
ubicli
Commits
c3b8b8bf
Commit
c3b8b8bf
authored
Feb 27, 2020
by
Geoffrey Guéret
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'add-issue-browse-command' into '22-add-issue-time-command'
Add issue browse command See merge request
!15
parents
faf28d87
f5c52f78
Pipeline
#15920
passed with stages
in 3 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
ubicli/commands/issue.py
ubicli/commands/issue.py
+8
-0
No files found.
ubicli/commands/issue.py
View file @
c3b8b8bf
...
...
@@ -6,6 +6,8 @@ from operator import itemgetter
from
collections
import
defaultdict
from
ubicli.utils
import
GitRepository
from
ubicli.factories
import
connections
from
ubicli.config
import
REDMINE_URL
STATUS_NEW
=
1
STATUS_PENDING
=
2
...
...
@@ -141,6 +143,12 @@ def time_estimate(ctx, amount, force):
ctx
.
obj
[
'ISSUE'
].
save
()
@
cli
.
command
()
@
click
.
pass_context
def
browse
(
ctx
):
click
.
launch
(
f
'
{
REDMINE_URL
}
/issues/
{
ctx
.
obj
[
"ISSUE"
].
id
}
'
)
@
time
.
command
(
'list'
)
@
click
.
pass_context
def
time_list
(
ctx
):
...
...
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