createmeta_response.json 6.7 KB

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