Support GraphQL in code blocks on JIRA tickets

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: None
    • None

      GraphQL is not supported in code blocks in JIRA tickets. This means that attempting to include a GraphQL query for repro steps on a bug report cannot be done with a code block. The submission will fail because of 'invalid formatting'. That's also why the GraphQL query in this ticket is not in a code block!

      This is extremely inconvenient to teams who are working on a product with GraphQL involved.

      To reproduce:
      1) on a JIRA agile board, create a new ticket
      2) in the description of the ticket, add a code block
      3) in the code block, copy & paste a valid GraphQL query (see example below)
      4) try to save/submit the ticket
      Expected: can submit the ticket
      Actual: You cannot submit the ticket per 'invalid formatting'

      Example of a valid GraphQL query:

      query QueryName($variable1:String!){
      object(objectId:$variable1)

      { id }

      },

      { "variable1": "string" }

            Assignee:
            Unassigned
            Reporter:
            Mitchell Morley
            Votes:
            14 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: