"Requires authentication and the following permission: 'Browse' on the project of the specified issue.")
.setSince("3.6")
.setChangelog(
- new Change("10.1", "Field 'characteristic' added to issues in the response"),
new Change("9.6", "Response field 'ruleDescriptionContextKey' added"),
new Change("8.8", "The response field components.uuid is removed"),
new Change("6.3", "the response returns the issue with all its details"),
.setDescription("Assign/Unassign an issue. Requires authentication and Browse permission on project")
.setSince("3.6")
.setChangelog(
- new Change("10.1", "Field 'characteristic' added to issues in the response"),
new Change("9.6", "Response field 'ruleDescriptionContextKey' added"),
new Change("8.8", "The response field components.uuid is removed"),
new Change("6.5", "the database ids of the components are removed from the response"),
import java.util.Set;
import java.util.function.Consumer;
import javax.annotation.Nullable;
-import org.sonar.api.server.ws.Change;
import org.sonar.api.server.ws.Request;
import org.sonar.api.server.ws.Response;
import org.sonar.api.server.ws.WebService;
.createAction(actionName)
.setHandler(this)
.setInternal(true)
- .setChangelog(
- new Change("10.1", "Field 'characteristic' added to issues in the response")
- )
.setResponseExample(getClass().getResource(resourceExample))
.setDescription(format("This endpoint fetches and returns all (unless filtered by optional params) the %s for a given branch. " +
"The %s returned are not paginated, so the response size can be big. Requires project 'Browse' permission.", issueType, issueType))
"Requires authentication and the following permission: 'Browse' on the project of the specified issue.")
.setSince("3.6")
.setChangelog(
- new Change("10.1", "Field 'characteristic' added to issues in the response"),
new Change("9.6", "Response field 'ruleDescriptionContextKey' added"),
new Change("8.8", "The response field components.uuid is removed"),
new Change("6.5", "the response field components.uuid is deprecated. Use components.key instead."),
"The transitions involving security hotspots require the permission 'Administer Security Hotspot'.")
.setSince("3.6")
.setChangelog(
- new Change("10.1", "Field 'characteristic' added to issues in the response"),
new Change("9.6", "Response field 'ruleDescriptionContextKey' added"),
new Change("8.8", "The response field components.uuid is removed"),
new Change("8.1", format("transitions '%s' and '%s' are no more supported", SET_AS_IN_REVIEW, OPEN_AS_VULNERABILITY)),
"Requires authentication and the following permission: 'Browse' on the project of the specified issue.")
.setSince("3.6")
.setChangelog(
- new Change("10.1", "Field 'characteristic' added to issues in the response"),
new Change("9.6", "Response field 'ruleDescriptionContextKey' added"),
new Change("8.8", "The response field components.uuid is removed"),
new Change("6.3", "the response returns the issue with all its details"),
"</ul>")
.setSince("3.6")
.setChangelog(
- new Change("10.1", "Field 'characteristic' added to issues in the response"),
new Change("9.6", "Response field 'ruleDescriptionContextKey' added"),
new Change("8.8", "The response field components.uuid is removed"),
new Change("6.5", "the database ids of the components are removed from the response"),
.setDescription("Set tags on an issue. <br/>" +
"Requires authentication and Browse permission on project")
.setChangelog(
- new Change("10.1", "Field 'characteristic' added to issues in the response"),
new Change("9.6", "Response field 'ruleDescriptionContextKey' added"),
new Change("8.8", "The response field components.uuid is removed"),
new Change("6.5", "the database ids of the components are removed from the response"),
"</ul>")
.setSince("5.5")
.setChangelog(
- new Change("10.1", "Field 'characteristic' added to issues in the response"),
new Change("9.6", "Response field 'ruleDescriptionContextKey' added"),
new Change("8.8", "The response field components.uuid is removed"),
new Change("6.5", "the database ids of the components are removed from the response"),
"creationDate": "2016-11-25T13:50:24+0100",
"updateDate": "2017-01-09T13:51:12+0100",
"type": "CODE_SMELL",
- "ruleDescriptionContextKey": "spring",
- "characteristic": "CLEAR"
+ "ruleDescriptionContextKey": "spring"
},
"components": [
{
"creationDate": "2016-11-25T13:50:24+0100",
"updateDate": "2017-01-09T13:51:12+0100",
"type": "CODE_SMELL",
- "ruleDescriptionContextKey": "spring",
- "characteristic": "CLEAR"
+ "ruleDescriptionContextKey": "spring"
},
"components": [
{
"creationDate": "2016-11-25T13:50:24+0100",
"updateDate": "2017-01-09T13:51:12+0100",
"type": "CODE_SMELL",
- "ruleDescriptionContextKey": "spring",
- "characteristic": "CLEAR"
+ "ruleDescriptionContextKey": "spring"
},
"components": [
{
"creationDate": "2016-11-25T13:50:24+0100",
"updateDate": "2017-01-09T13:51:12+0100",
"type": "CODE_SMELL",
- "ruleDescriptionContextKey": "spring",
- "characteristic": "CLEAR"
+ "ruleDescriptionContextKey": "spring"
},
"components": [
{
"creationDate": "2016-11-25T13:50:24+0100",
"updateDate": "2017-01-09T13:51:12+0100",
"type": "CODE_SMELL",
- "ruleDescriptionContextKey": "spring",
- "characteristic": "CLEAR"
+ "ruleDescriptionContextKey": "spring"
},
"components": [
{
}
],
"quickFixAvailable": false,
- "ruleDescriptionContextKey": "spring",
- "characteristic": "CLEAR"
+ "ruleDescriptionContextKey": "spring"
}
],
"components": [
"creationDate": "2016-11-25T13:50:24+0100",
"updateDate": "2017-01-09T13:51:12+0100",
"type": "CODE_SMELL",
- "ruleDescriptionContextKey": "spring",
- "characteristic": "CLEAR"
+ "ruleDescriptionContextKey": "spring"
},
"components": [
{
"creationDate": "2016-11-25T13:50:24+0100",
"updateDate": "2017-01-09T13:51:12+0100",
"type": "CODE_SMELL",
- "ruleDescriptionContextKey": "spring",
- "characteristic": "CLEAR"
+ "ruleDescriptionContextKey": "spring"
},
"components": [
{
"creationDate": "2016-11-25T13:50:24+0100",
"updateDate": "2017-01-09T13:51:12+0100",
"type": "CODE_SMELL",
- "ruleDescriptionContextKey": "spring",
- "characteristic": "CLEAR"
+ "ruleDescriptionContextKey": "spring"
},
"components": [
{