mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-07 21:43:32 +02:00
add "blockerType" config param, for issueLinkType use for "blocks" command
This commit is contained in:
+1
-1
@@ -391,7 +391,7 @@ func (c *Cli) CmdBlocks(blocker string, issue string) error {
|
|||||||
|
|
||||||
json, err := jsonEncode(map[string]interface{}{
|
json, err := jsonEncode(map[string]interface{}{
|
||||||
"type": map[string]string{
|
"type": map[string]string{
|
||||||
"name": "Depends", // TODO This is probably not constant across Jira installs
|
"name": c.GetOptString("blockerType", "Blocks"),
|
||||||
},
|
},
|
||||||
"inwardIssue": map[string]string{
|
"inwardIssue": map[string]string{
|
||||||
"key": issue,
|
"key": issue,
|
||||||
|
|||||||
Reference in New Issue
Block a user