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

Create WS to read/write/delete New Code Periods

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0
    • Component/s: Web API
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      We need webservices to set and get the new code period for projects, branches and as the global setting.

       

      api/new_code_period/set

      Input:

      • Project key (optional)
      • Branch key (optional)
      • type
      • value (optional for certain types)

      Note: If the instance is a CE, if a project key is provided and no branch key is provided, we will set the new value in the main branch (not as the project default).
       

      api/new_code_period/show

      Input:

      • Project key (optional)
      • Branch key (optional)

      Output:

      • Type
      • Value

       

      api/new_code_period/unset

      Input:

      • Project key (optional)
      • Branch key (optional)

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              duarte.meneses Duarte Meneses
              Reporter:
              duarte.meneses Duarte Meneses
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: