Skip to content

Commit

Permalink
Use string or enum
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrennan4 committed Feb 2, 2024
1 parent ac8289c commit 6335848
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions continuous-operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ A ticket can request a change, report a problem, or document an [`incident`](#in
| source | `URI-Reference` | See [source](spec.md#source-subject) | `ticketing-system` |
| type | `String` | See [type](spec.md#type-subject) | `ticket` |
| summary | `String` | The summary provided on the ticket | `Implement feature xyz`, `New CVE-123 detected` |
| ticketType | `String (enum)` | The ticket type | `bug`, `enhancement`, `custom` |
| ticketType | `String or Enum` | The ticket type | `bug`, `enhancement`, `custom-type` |
| group | `String` | The group or project the ticket is currently assigned to | `backend` |
| creator | `String` | The ticket author | `Alice` |
| assignee | `String` | Who is currently investigating the ticket | `Bob` |
| priority | `String (enum)` | An indicator of the importance of the ticket | `high`, `medium`, `low`, `custom` |
| labels | `Array (string)` | Labels associated to the ticket | `[productxyz, bug]` |
| priority | `String or Enum` | An indicator of the importance of the ticket | `high`, `medium`, `low`, `custom` |
| labels | `List (string)` | Labels associated to the ticket | `[productxyz, bug]` |
| milestone | `String` | An ID that represents a goal for when this ticket is to be completed | `123`, `sprint-123`, `Q1` |
| changed | `Object (list)` | An object representing the changes to the ticket | `[{"field": "labels", "from": "", "to": "bug"}]` |
| resolution | `String (enum)` | Indicates the closing status of the ticket | `completed`, `withdrawn` |
| changed | `List (object)` | An object representing the changes to the ticket | `[{"field": "labels", "from": "", "to": "bug"}]` |
| resolution | `String or Enum` | Indicates the closing status of the ticket | `completed`, `withdrawn` |
| author | `String` | The person who authored the updates | `Bob` |

## Events
Expand Down Expand Up @@ -127,12 +127,12 @@ This event represents a ticket that has been created within some ticketing syste
| source | `URI-Reference` | See [source](spec.md#source-subject) | `ticketing-system` | |
| type | `String` | See [type](spec.md#type-subject) | `ticket` | |
| summary | `String` | The summary provided on the ticket | `Implement feature xyz`, `New CVE-123 detected` ||
| ticketType | `String (enum)` | The ticket type | `bug`, `enhancement`, `custom` | |
| ticketType | `String or Enum` | The ticket type | `bug`, `enhancement`, `custom-type` | |
| group | `String` | The group the ticket is currently assigned to | `backend` | |
| creator | `String` | The ticket author | `Alice` ||
| assignee | `String` | Who is currently investigating the ticket | `Bob` | |
| priority | `String (enum)` | An indicator of the importance of the ticket | `high`, `medium`, `low`, `custom` | |
| labels | `String (list)` | Labels associated to the ticket | `productxyz, bug` | |
| priority | `String or Enum` | An indicator of the importance of the ticket | `high`, `medium`, `low`, `custom-priority` | |
| labels | `List (string)` | Labels associated to the ticket | `productxyz, bug` | |
| milestone | `String` | An ID that represents a goal for when this ticket is to be completed | `123`, `sprint-123`, `Q1` | |

### [`ticket updated`](examples/ticket_updated.json)
Expand All @@ -148,7 +148,7 @@ This event represents a ticket that has been created within some ticketing syste
| id | `String`| See [id](spec.md#id-subject) | `ticket-123` ||
| source | `URI-Reference` | See [source](spec.md#source-subject) | `ticketing-system` | |
| type | `String` | See [type](spec.md#type-subject) | `ticket` | |
| changed | `Object (list)` | An object representing the changes to the ticket | `[{"field": "labels", "from": "", "to": "bug"}]` ||
| changed | `List (object)` | An object representing the changes to the ticket | `[{"field": "labels", "from": "", "to": "bug"}]` ||
| author | `String` | The person who authored the updates | `Bob` ||

### [`ticket closed`](examples/ticket_closed.json)
Expand All @@ -164,7 +164,7 @@ This event represents a ticket that has been created within some ticketing syste
| id | `String`| See [id](spec.md#id-subject) | `ticket-123` ||
| source | `URI-Reference` | See [source](spec.md#source-subject) | `ticketing-system` | |
| type | `String` | See [type](spec.md#type-subject) | `ticket` | |
| resolution | `String (enum)` | Indicates the closing status of the ticket | `completed`, `withdrawn` ||
| resolution | `String or Enum` | Indicates the closing status of the ticket | `completed`, `withdrawn` ||
| author | `String` | The person who authored the updates | `Bob` ||

[incident]: https://csrc.nist.gov/glossary/term/incident

0 comments on commit 6335848

Please sign in to comment.