Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-69668

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

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              2cd4b6cecf0f Jacek Krawczyk
              dbonotto Dario B
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: