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