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.

edit_comment-example.json 2.6KB

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