This is a bug report, really.
Jira fails with a message like:
It might be empty, too long, or have invalid formatting. If you copy-pasted, try removing the formatting and adding it directly in the editor.
when trying to add the following as a code block within a comment:
query ($groupId: ID!, $scheduleItemTypeId: ID!) {
scheduleItemTypeInstances (groupId: $groupId, scheduleItemTypeId: $scheduleItemTypeId) {
id
scheduleItemTypeId
scheduleItemInstances {
scheduleItemId
scheduleFieldInstances {
scheduleFieldId
value
}
}
}
} Looks like it's this bit it doesn't like:
query ($groupId: ID!, $scheduleItemTypeId: ID!) {