Skip to main content

ISSUE_LINK

Constant ISSUE_LINK 

Source
pub const ISSUE_LINK: &str = "\
Link or unlink issues. Every verb here writes.

```
ytcli issue link add PROJ-1 relates PROJ-7
ytcli issue link add PROJ-1 \"depends on\" PROJ-3
ytcli issue link delete PROJ-1 987654
```

Relationships, all nine of them:

```
relates              is parent task for   duplicates
depends on           is subtask for       is duplicated by
is dependent by      is epic of           has epic
```

The direction is from the issue you name to the other one. Hyphens are accepted
in place of spaces, but the words have to be the whole phrase: `depends` is the
id of a link *type* and not a relationship, and Tracker refuses it. `ytcli link
types` prints both vocabularies side by side.

Ids for `delete` come from `ytcli issue links`, which prints one per row and
stays a different command from this one.";