mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Some tweaks to the Jira plugin
[x] Updating `branch` command to be compatible with git-flow style branches by removing any prefix before attempting to go to the ticket number in Jira. [x] Removing the switch between /browse/ and /issues/ based off of the `JIRA_RAPID_BOARD` setting - as all issues are under browse now it seems.
This commit is contained in:
parent
1f6e1555f2
commit
587000ec02
2 changed files with 7 additions and 6 deletions
|
|
@ -23,6 +23,9 @@ jira reported [username] # queries for issues reported by a user
|
|||
jira assigned [username] # queries for issues assigned to a user
|
||||
jira myissues # queries for you own issues
|
||||
jira branch # opens an existing issue matching the current branch name
|
||||
# The branch name may have prefixes ending in "/": "feature/MP-1234",
|
||||
# and also suffixes starting with "_": "MP-1234_fix_dashboard"
|
||||
# In both these cases, the issue opened will be "MP-1234"
|
||||
jira ABC-123 # opens an existing issue
|
||||
jira ABC-123 m # opens an existing issue for adding a comment
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue