In CodeCatalyst, you can monitor features, tasks, bugs, and any other work involved in your project. Each piece of work is kept in a distinct record called an issue. Each issue can have a description, assignee, status, and other properties, which you can search for, group and filter on. You can view your issues using the default views, or you can create your own views with custom filtering, sorting, or grouping. For more information about concepts related to issues, see Issues concepts and Quotas for issues.
The issue component generates a JSON representation of an issue. The component takes in an ID field and issue definition as input.
In your blueprint.ts
, file, add the following:
import {...} from '@amazon-codecatalyst/blueprint-component.issues'
import { Issue } from '@amazon-codecatalyst/blueprint-component.issues';
...
new Issue(this, 'myFirstIssue', {
title: 'myFirstIssue',
content: 'this is an example issue',
});
import { Issue } from '@amazon-codecatalyst/blueprint-component.issues';
...
new Issue(this, 'mySecondIssue', {
title: 'mySecondIssue',
content: 'this is an example high priority issue',
priority: 'HIGH',
});
import { Issue } from '@amazon-codecatalyst/blueprint-component.issues';
...
new Issue(this, 'myThirdIssue', {
title: 'myThirdIssue',
content: 'this is an example of a low priority issue with a label',
priority: 'LOW',
labels: ['exampleLabel'],
});