Skip to content
[ 03 ]Commands

copia-cli issue pin

copia-cli issue pin {<number> | <url>}

Pin an issue to the repository by number or URL.

An issue that is already pinned is left as it is. Pinning needs write access to the repository's issues.

app.copia.io does not serve the pin endpoint and answers with HTTP 404, so the command reports that the host does not support it.

Options inherited from parent commands

--host <string>
Target Copia host
-R, --repo <string>
Select repository (owner/repo)
--token <string>
Authentication token

Examples

# Pin an issue to the current repository
$ copia-cli issue pin 23

# Pin an issue by URL
$ copia-cli issue pin https://app.copia.io/my-org/my-repo/issues/23

# Pin an issue to a specific repository
$ copia-cli issue pin 23 --repo my-org/my-repo

See also