Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-6582

Sanitize responses of issue WS

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Component/s: Issues, Web API
    • Labels:
      None

      Description

      This is a best practice when a WS action on a single item returns the representation of this item. For example, /api/issues/do_transition should return an issue.

      All actions should return the same representation, i.e. same fields.

      List of actions:

      • api/issues/assign
      • api/issues/create
      • api/issues/do_transition
      • api/issues/plan
      • api/issues/set_severity
      • api/issues/set_tags
      • api/issues/show

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              freddy.mallet Freddy Mallet (Inactive)
              Reporter:
              stas.vilchik Stas Vilchik (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: