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

Overview

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

Details

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