createmeta_response.json 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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_10001": {
  105. "required": false,
  106. "schema": {
  107. "type": "team",
  108. "custom": "com.atlassian.jira.plugin.system.customfieldtypes:atlassian-team",
  109. "customId": 10001,
  110. "configuration": {
  111. "com.atlassian.jira.plugin.system.customfieldtypes:atlassian-team": true
  112. }
  113. },
  114. "name": "Team",
  115. "key": "customfield_10001",
  116. "hasDefaultValue": false,
  117. "operations": ["set"]
  118. },
  119. "customfield_10300": {
  120. "required": false,
  121. "schema": {
  122. "type": "array",
  123. "items": "option",
  124. "custom": "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
  125. "customId": 10202
  126. },
  127. "name": "Feature",
  128. "hasDefaultValue": false,
  129. "operations": ["add", "set", "remove"],
  130. "allowedValues": [
  131. {"value": "Feature 1", "id": "10105"},
  132. {"value": "Feature 2", "id": "10106"}
  133. ]
  134. },
  135. "customfield_10400": {
  136. "operations": ["set"],
  137. "name": "Epic Link",
  138. "required": false,
  139. "hasDefaultValue": false,
  140. "key": "customfield_10400",
  141. "schema": {
  142. "customId": 10400,
  143. "type": "any",
  144. "custom": "com.pyxis.greenhopper.jira:gh-epic-link"
  145. }
  146. },
  147. "customfield_10500": {
  148. "operations": ["set"],
  149. "name": "Sprint",
  150. "required": false,
  151. "hasDefaultValue": false,
  152. "key": "customfield_10500",
  153. "schema": {
  154. "items": "json",
  155. "customId": 10500,
  156. "type": "array",
  157. "custom": "com.pyxis.greenhopper.jira:gh-sprint"
  158. }
  159. },
  160. "parent": {
  161. "operations": ["set"],
  162. "name": "Parent",
  163. "required": false,
  164. "hasDefaultValue": false,
  165. "key": "parent",
  166. "schema": {
  167. "type": "issuelink",
  168. "system": "parent"
  169. }
  170. },
  171. "reporter": {
  172. "operations": ["set"],
  173. "name": "Reporter",
  174. "required": true,
  175. "autoCompleteUrl": "https://saifelse.atlassian.net/rest/api/2/user/search?query=",
  176. "hasDefaultValue": true,
  177. "key": "reporter",
  178. "schema": {
  179. "type": "user",
  180. "system": "reporter"
  181. }
  182. }
  183. }
  184. }
  185. ]
  186. }
  187. ]
  188. }