createmeta_response.json 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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. "priority": {
  53. "required": false,
  54. "schema": {
  55. "type": "priority",
  56. "items": "string",
  57. "system": "priority"
  58. },
  59. "name": "Priority",
  60. "key": "priority",
  61. "operations": ["set"],
  62. "allowedValues": [
  63. {"id": 1, "label": "High"},
  64. {"id": 2, "label": "Medium"},
  65. {"id": 3, "label": "Low"}
  66. ]
  67. },
  68. "labels": {
  69. "required": false,
  70. "schema": {
  71. "type": "array",
  72. "items": "string",
  73. "system": "labels"
  74. },
  75. "name": "Labels",
  76. "key": "labels"
  77. },
  78. "project": {
  79. "allowedValues": [
  80. {
  81. "avatarUrls": {
  82. "48x48": "http://www.example.com/jira/secure/projectavatar?pid=10000&avatarId=10011",
  83. "24x24": "http://www.example.com/jira/secure/projectavatar?size=small&pid=10000&avatarId=10011",
  84. "16x16": "http://www.example.com/jira/secure/projectavatar?size=xsmall&pid=10000&avatarId=10011",
  85. "32x32": "http://www.example.com/jira/secure/projectavatar?size=medium&pid=10000&avatarId=10011"
  86. },
  87. "id": "10000",
  88. "key": "EX",
  89. "name": "Example Project",
  90. "projectTypeKey": "software",
  91. "self": "https://hellboi.atlassian.net/rest/api/2/project/10000",
  92. "simplified": false
  93. }
  94. ],
  95. "hasDefaultValue": false,
  96. "key": "project",
  97. "name": "Project",
  98. "operations": ["set"],
  99. "required": true,
  100. "schema": {
  101. "system": "project",
  102. "type": "project"
  103. }
  104. },
  105. "customfield_10200": {
  106. "operations": ["set"],
  107. "required": false,
  108. "schema": {
  109. "type": "option",
  110. "custom": "com.codebarrel.jira.iconselectlist:icon-select-cf",
  111. "customId": 10200
  112. },
  113. "name": "Mood",
  114. "hasDefaultValue": false,
  115. "allowedValues": [
  116. {"id": 10100, "label": "sad"},
  117. {"id": 10101, "label": "happy"}
  118. ]
  119. },
  120. "customfield_10300": {
  121. "required": false,
  122. "schema": {
  123. "type": "array",
  124. "items": "option",
  125. "custom": "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
  126. "customId": 10202
  127. },
  128. "name": "Feature",
  129. "hasDefaultValue": false,
  130. "operations": ["add", "set", "remove"],
  131. "allowedValues": [
  132. {"value": "Feature 1", "id": "10105"},
  133. {"value": "Feature 2", "id": "10106"}
  134. ]
  135. },
  136. "customfield_10400": {
  137. "operations": ["set"],
  138. "name": "Epic Link",
  139. "required": false,
  140. "hasDefaultValue": false,
  141. "key": "customfield_10400",
  142. "schema": {
  143. "customId": 10400,
  144. "type": "any",
  145. "custom": "com.pyxis.greenhopper.jira:gh-epic-link"
  146. }
  147. },
  148. "customfield_10500": {
  149. "operations": ["set"],
  150. "name": "Sprint",
  151. "required": false,
  152. "hasDefaultValue": false,
  153. "key": "customfield_10500",
  154. "schema": {
  155. "items": "json",
  156. "customId": 10500,
  157. "type": "array",
  158. "custom": "com.pyxis.greenhopper.jira:gh-sprint"
  159. }
  160. },
  161. "parent": {
  162. "operations": ["set"],
  163. "name": "Parent",
  164. "required": false,
  165. "hasDefaultValue": false,
  166. "key": "parent",
  167. "schema": {
  168. "type": "issuelink",
  169. "system": "parent"
  170. }
  171. },
  172. "reporter": {
  173. "operations": ["set"],
  174. "name": "Reporter",
  175. "required": true,
  176. "autoCompleteUrl": "https://saifelse.atlassian.net/rest/api/2/user/search?query=",
  177. "hasDefaultValue": true,
  178. "key": "reporter",
  179. "schema": {
  180. "type": "user",
  181. "system": "reporter"
  182. }
  183. }
  184. }
  185. }
  186. ]
  187. }
  188. ]
  189. }