You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

do_transition-example.json 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. "issue": {
  3. "key": "AVibidgv1LF0E-ru2DVv",
  4. "rule": "squid:S2301",
  5. "cleanCodeAttribute": "CLEAR",
  6. "cleanCodeAttributeCategory": "INTENTIONAL",
  7. "impacts": [
  8. {
  9. "softwareQuality": "SECURITY",
  10. "severity": "HIGH"
  11. }
  12. ],
  13. "severity": "MAJOR",
  14. "component": "org.sonarsource.sonarlint.intellij:sonarlint-intellij:src/main/java/org/sonarlint/intellij/core/ServerIssueUpdater.java",
  15. "project": "org.sonarsource.sonarlint.intellij:sonarlint-intellij",
  16. "line": 78,
  17. "textRange": {
  18. "startLine": 78,
  19. "endLine": 78,
  20. "startOffset": 14,
  21. "endOffset": 39
  22. },
  23. "flows": [],
  24. "status": "CONFIRMED",
  25. "simpleStatus": "CONFIRMED",
  26. "message": "Provide multiple methods instead of using \"modal\" to determine which action to take.",
  27. "effort": "15min",
  28. "debt": "15min",
  29. "assignee": "john.smith",
  30. "author": "john.smith@email.com",
  31. "tags": [
  32. "design"
  33. ],
  34. "transitions": [
  35. "unconfirm",
  36. "resolve",
  37. "falsepositive",
  38. "wontfix"
  39. ],
  40. "actions": [
  41. "comment",
  42. "assign",
  43. "set_tags",
  44. "set_type",
  45. "set_severity"
  46. ],
  47. "comments": [
  48. {
  49. "key": "AVmDRx8Zm-z8OYZYRSxo",
  50. "login": "jane.doo",
  51. "htmlText": "Please fix this",
  52. "markdown": "Please fix this",
  53. "updatable": true,
  54. "createdAt": "2017-01-09T13:49:53+0100"
  55. }
  56. ],
  57. "creationDate": "2016-11-25T13:50:24+0100",
  58. "updateDate": "2017-01-09T13:51:12+0100",
  59. "type": "CODE_SMELL",
  60. "ruleDescriptionContextKey": "spring"
  61. },
  62. "components": [
  63. {
  64. "key": "org.sonarsource.sonarlint.intellij:sonarlint-intellij:src/main/java/org/sonarlint/intellij/core/ServerIssueUpdater.java",
  65. "enabled": true,
  66. "qualifier": "FIL",
  67. "name": "ServerIssueUpdater.java",
  68. "longName": "src/main/java/org/sonarlint/intellij/core/ServerIssueUpdater.java",
  69. "path": "src/main/java/org/sonarlint/intellij/core/ServerIssueUpdater.java"
  70. },
  71. {
  72. "key": "org.sonarsource.sonarlint.intellij:sonarlint-intellij",
  73. "enabled": true,
  74. "qualifier": "TRK",
  75. "name": "SonarLint for IntelliJ IDEA",
  76. "longName": "SonarLint for IntelliJ IDEA"
  77. }
  78. ],
  79. "rules": [
  80. {
  81. "key": "squid:S2301",
  82. "name": "Public methods should not contain selector arguments",
  83. "lang": "java",
  84. "status": "READY",
  85. "langName": "Java"
  86. }
  87. ],
  88. "users": [
  89. {
  90. "login": "john.smith",
  91. "name": "John Smith",
  92. "email": "john.smith@email.com",
  93. "active": true
  94. },
  95. {
  96. "login": "jane.doo",
  97. "name": "Jane Doo",
  98. "email": "jane.doo@mail.net",
  99. "active": true
  100. }
  101. ]
  102. }