Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira cannot save my comment - invalid formatting, etc.

Richard_Bourne
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 14, 2018

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!) {

2 answers

6 votes
Ben Mackie
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 20, 2019

Man, Jira sucks.

0 votes
Henrique Bittencourt
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 15, 2018

Hi Richard!

What are you experiencing could be related to this known bug, please take a look at:

Meanwhile, you can try to workaround this behavior by adding the comment through the full issue view (as stated in the bug report).

Hope this helps!

Best Regards.

Suggest an answer

Log in or Sign up to answer