createmeta_response.json 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. {
  2. "projects": [
  3. {
  4. "self": "http://www.example.com/jira/rest/api/2/project/EX",
  5. "id": "10000",
  6. "key": "EX",
  7. "name": "Example Project",
  8. "avatarUrls": {
  9. "48x48": "http://www.example.com/jira/secure/projectavatar?pid=10000&avatarId=10011",
  10. "24x24": "http://www.example.com/jira/secure/projectavatar?size=small&pid=10000&avatarId=10011",
  11. "16x16": "http://www.example.com/jira/secure/projectavatar?size=xsmall&pid=10000&avatarId=10011",
  12. "32x32": "http://www.example.com/jira/secure/projectavatar?size=medium&pid=10000&avatarId=10011"
  13. },
  14. "issuetypes": [
  15. {
  16. "self": "http://www.example.com/jira/rest/api/2/issueType/1",
  17. "id": "1",
  18. "description": "An error in the code",
  19. "iconUrl": "http://www.example.com/jira/images/icons/issuetypes/bug.png",
  20. "name": "Bug",
  21. "subtask": false,
  22. "fields": {
  23. "summary": {
  24. "hasDefaultValue": false,
  25. "key": "summary",
  26. "name": "Summary",
  27. "operations": ["set"],
  28. "required": true,
  29. "schema": {
  30. "system": "summary",
  31. "type": "string"
  32. }
  33. },
  34. "description": {
  35. "hasDefaultValue": false,
  36. "key": "description",
  37. "name": "Description",
  38. "operations": ["set"],
  39. "required": false,
  40. "schema": {
  41. "system": "description",
  42. "type": "string"
  43. }
  44. },
  45. "issuetype": {
  46. "required": true,
  47. "name": "Issue Type",
  48. "key": "issuetype",
  49. "hasDefaultValue": false,
  50. "operations": ["set"]
  51. },
  52. "labels": {
  53. "required": false,
  54. "schema": {
  55. "type": "array",
  56. "items": "string",
  57. "system": "labels"
  58. },
  59. "name": "Labels",
  60. "key": "labels"
  61. },
  62. "project": {
  63. "allowedValues": [
  64. {
  65. "avatarUrls": {
  66. "48x48": "http://www.example.com/jira/secure/projectavatar?pid=10000&avatarId=10011",
  67. "24x24": "http://www.example.com/jira/secure/projectavatar?size=small&pid=10000&avatarId=10011",
  68. "16x16": "http://www.example.com/jira/secure/projectavatar?size=xsmall&pid=10000&avatarId=10011",
  69. "32x32": "http://www.example.com/jira/secure/projectavatar?size=medium&pid=10000&avatarId=10011"
  70. },
  71. "id": "10000",
  72. "key": "EX",
  73. "name": "Example Project",
  74. "projectTypeKey": "software",
  75. "self": "https://hellboi.atlassian.net/rest/api/2/project/10000",
  76. "simplified": false
  77. }
  78. ],
  79. "hasDefaultValue": false,
  80. "key": "project",
  81. "name": "Project",
  82. "operations": ["set"],
  83. "required": true,
  84. "schema": {
  85. "system": "project",
  86. "type": "project"
  87. }
  88. },
  89. "customfield_10200": {
  90. "operations": ["set"],
  91. "required": false,
  92. "schema": {
  93. "type": "option",
  94. "custom": "com.codebarrel.jira.iconselectlist:icon-select-cf",
  95. "customId": 10200
  96. },
  97. "name": "Mood",
  98. "hasDefaultValue": false,
  99. "allowedValues": [
  100. {"id": 10100, "label": "sad"},
  101. {"id": 10101, "label": "happy"}
  102. ]
  103. },
  104. "customfield_10300": {
  105. "required": false,
  106. "schema": {
  107. "type": "array",
  108. "items": "option",
  109. "custom": "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
  110. "customId": 10202
  111. },
  112. "name": "Feature",
  113. "hasDefaultValue": false,
  114. "operations": ["add", "set", "remove"],
  115. "allowedValues": [
  116. {"value": "Feature 1", "id": "10105"},
  117. {"value": "Feature 2", "id": "10106"}
  118. ]
  119. },
  120. "customfield_10400": {
  121. "operations": ["set"],
  122. "name": "Epic Link",
  123. "required": false,
  124. "hasDefaultValue": false,
  125. "key": "customfield_10400",
  126. "schema": {
  127. "customId": 10400,
  128. "type": "any",
  129. "custom": "com.pyxis.greenhopper.jira:gh-epic-link"
  130. }
  131. },
  132. "customfield_10500": {
  133. "operations": ["set"],
  134. "name": "Sprint",
  135. "required": false,
  136. "hasDefaultValue": false,
  137. "key": "customfield_10500",
  138. "schema": {
  139. "items": "json",
  140. "customId": 10500,
  141. "type": "array",
  142. "custom": "com.pyxis.greenhopper.jira:gh-sprint"
  143. }
  144. },
  145. "parent": {
  146. "operations": ["set"],
  147. "name": "Parent",
  148. "required": false,
  149. "hasDefaultValue": false,
  150. "key": "parent",
  151. "schema": {
  152. "type": "issuelink",
  153. "system": "parent"
  154. }
  155. },
  156. "reporter": {
  157. "operations": ["set"],
  158. "name": "Reporter",
  159. "required": true,
  160. "autoCompleteUrl": "https://saifelse.atlassian.net/rest/api/2/user/search?query=",
  161. "hasDefaultValue": true,
  162. "key": "reporter",
  163. "schema": {
  164. "type": "user",
  165. "system": "reporter"
  166. }
  167. }
  168. }
  169. }
  170. ]
  171. }
  172. ]
  173. }