How To: Get the Jira and PR annotations from an image using CLI


You want to get the image Jira and PR annotations programmatically.


To get the issues annotations on the image, you can use this CLI command:

codefresh get annotation image-issues <image_id> -o json

To get the PR information:

codefresh get annotation image-prs <image_id> -o json

CLI documentation for annotations