The "Edit Issue" REST API endpoint example has some invalid JSON

XMLWordPrintable

    • 7.13
    • Severity 3 - Minor

      Issue Summary

      The "Edit Issue" REST API documentation has some invalid JSON in the example request body

      Steps to Reproduce

      1. Search the example for the enpoint /rest/api/2/issue/{issueIdOrKey}/editmeta

      Expected Results

      The "properties" section should look as below:

         "properties":[  
            {  
               "key":"key1",
               "value":"properties can be set at issue create or update time"
            },
            {  
               "key":"key2",
               "value":"and there can be multiple properties"
            }
         ]
      }
      

       

      Actual Results

      The "property" section shows:

      "properties":[
        {"key":"key1","value":'properties' : 'can be set at issue create or update time'},
        {"key":"key2","value":'and' : 'there can be multiple properties'}
      ]
      

      Workaround

      Use the correct syntax

            Assignee:
            Robert Klimkiewicz
            Reporter:
            Dario B
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: