issue_fields_response.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  1. {
  2. "maxResults": 50,
  3. "startAt": 0,
  4. "total": 19,
  5. "isLast": true,
  6. "values": [
  7. {
  8. "required": false,
  9. "schema": {
  10. "type": "user",
  11. "system": "assignee"
  12. },
  13. "name": "Assignee",
  14. "fieldId": "assignee",
  15. "autoCompleteUrl": "https://example.com/rest/api/latest/user/assignable/search?issueKey=null&username=",
  16. "hasDefaultValue": false,
  17. "operations": ["set"]
  18. },
  19. {
  20. "required": false,
  21. "schema": {
  22. "type": "array",
  23. "items": "attachment",
  24. "system": "attachment"
  25. },
  26. "name": "Attachment",
  27. "fieldId": "attachment",
  28. "hasDefaultValue": false,
  29. "operations": []
  30. },
  31. {
  32. "required": false,
  33. "schema": {
  34. "type": "array",
  35. "items": "component",
  36. "system": "components"
  37. },
  38. "name": "Component/s",
  39. "fieldId": "components",
  40. "hasDefaultValue": false,
  41. "operations": ["add", "set", "remove"],
  42. "allowedValues": [
  43. {
  44. "self": "https://example.com/rest/api/2/component/10000",
  45. "id": "10000",
  46. "name": "computers",
  47. "description": "The computers"
  48. },
  49. {
  50. "self": "https://example.com/rest/api/2/component/10001",
  51. "id": "10001",
  52. "name": "software",
  53. "description": "The softwares"
  54. }
  55. ]
  56. },
  57. {
  58. "required": false,
  59. "schema": {
  60. "type": "array",
  61. "items": "string",
  62. "custom": "com.pyxis.greenhopper.jira:gh-sprint",
  63. "customId": 10100
  64. },
  65. "name": "Sprint",
  66. "fieldId": "customfield_10100",
  67. "hasDefaultValue": false,
  68. "operations": ["set"]
  69. },
  70. {
  71. "required": false,
  72. "schema": {
  73. "type": "any",
  74. "custom": "com.pyxis.greenhopper.jira:gh-epic-link",
  75. "customId": 10101
  76. },
  77. "name": "Epic Link",
  78. "fieldId": "customfield_10101",
  79. "hasDefaultValue": false,
  80. "operations": ["set"]
  81. },
  82. {
  83. "required": false,
  84. "schema": {
  85. "type": "option",
  86. "custom": "com.codebarrel.jira.iconselectlist:icon-select-cf",
  87. "customId": 10200
  88. },
  89. "name": "Mood",
  90. "fieldId": "customfield_10200",
  91. "autoCompleteUrl": "https://example.com/rest/iconselectoptions/1.0/option/context/10500",
  92. "hasDefaultValue": false,
  93. "operations": ["set"],
  94. "allowedValues": [
  95. {
  96. "id": 10100,
  97. "self": "https://example.com/rest/iconselectoptions/1.0/option/10100",
  98. "label": "sad",
  99. "iconUrl": "https://example.com/secure/viewavatar?size=xsmall&avatarId=10534&avatarType=iconselectlist",
  100. "avatarId": 10534,
  101. "sequence": 0,
  102. "disabled": false
  103. },
  104. {
  105. "id": 10101,
  106. "self": "https://example.com/rest/iconselectoptions/1.0/option/10101",
  107. "label": "happy",
  108. "iconUrl": "https://example.com/secure/viewavatar?size=xsmall&avatarId=10513&avatarType=iconselectlist",
  109. "avatarId": 10513,
  110. "sequence": 1,
  111. "disabled": false
  112. }
  113. ]
  114. },
  115. {
  116. "required": false,
  117. "schema": {
  118. "type": "array",
  119. "items": "option",
  120. "custom": "com.codebarrel.jira.iconselectlist:icon-multi-select-cf",
  121. "customId": 10201
  122. },
  123. "name": "reactions",
  124. "fieldId": "customfield_10201",
  125. "autoCompleteUrl": "https://example.com/rest/iconselectoptions/1.0/option/context/10501",
  126. "hasDefaultValue": false,
  127. "operations": ["add", "set", "remove"],
  128. "allowedValues": [
  129. {
  130. "id": 10102,
  131. "self": "https://example.com/rest/iconselectoptions/1.0/option/10102",
  132. "label": "wow",
  133. "iconUrl": "https://example.com/secure/viewavatar?size=xsmall&avatarId=10541&avatarType=iconselectlist",
  134. "avatarId": 10541,
  135. "sequence": 0,
  136. "disabled": false
  137. },
  138. {
  139. "id": 10103,
  140. "self": "https://example.com/rest/iconselectoptions/1.0/option/10103",
  141. "label": "devil",
  142. "iconUrl": "https://example.com/secure/viewavatar?size=xsmall&avatarId=10545&avatarType=iconselectlist",
  143. "avatarId": 10545,
  144. "sequence": 1,
  145. "disabled": false
  146. },
  147. {
  148. "id": 10104,
  149. "self": "https://example.com/rest/iconselectoptions/1.0/option/10104",
  150. "label": "metal",
  151. "iconUrl": "https://example.com/secure/viewavatar?size=xsmall&avatarId=10547&avatarType=iconselectlist",
  152. "avatarId": 10547,
  153. "sequence": 2,
  154. "disabled": false
  155. }
  156. ]
  157. },
  158. {
  159. "required": false,
  160. "schema": {
  161. "type": "array",
  162. "items": "option",
  163. "custom": "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
  164. "customId": 10202
  165. },
  166. "name": "Feature",
  167. "fieldId": "customfield_10202",
  168. "hasDefaultValue": false,
  169. "operations": ["add", "set", "remove"],
  170. "allowedValues": [
  171. {
  172. "self": "https://example.com/rest/api/2/customFieldOption/10105",
  173. "value": "Feature 1",
  174. "id": "10105",
  175. "disabled": false
  176. },
  177. {
  178. "self": "https://example.com/rest/api/2/customFieldOption/10106",
  179. "value": "Feature 2",
  180. "id": "10106",
  181. "disabled": false
  182. },
  183. {
  184. "self": "https://example.com/rest/api/2/customFieldOption/10107",
  185. "value": "Feature 3",
  186. "id": "10107",
  187. "disabled": false
  188. }
  189. ]
  190. },
  191. {
  192. "required": false,
  193. "schema": {
  194. "type": "string",
  195. "system": "description"
  196. },
  197. "name": "Description",
  198. "fieldId": "description",
  199. "hasDefaultValue": false,
  200. "operations": ["set"]
  201. },
  202. {
  203. "required": false,
  204. "schema": {
  205. "type": "string",
  206. "system": "environment"
  207. },
  208. "name": "Environment",
  209. "fieldId": "environment",
  210. "hasDefaultValue": false,
  211. "operations": ["set"]
  212. },
  213. {
  214. "required": false,
  215. "schema": {
  216. "type": "array",
  217. "items": "version",
  218. "system": "fixVersions"
  219. },
  220. "name": "Fix Version/s",
  221. "fieldId": "fixVersions",
  222. "hasDefaultValue": false,
  223. "operations": ["set", "add", "remove"],
  224. "allowedValues": [
  225. {
  226. "self": "https://example.com/rest/api/2/version/10000",
  227. "id": "10000",
  228. "name": "v1",
  229. "archived": false,
  230. "released": false,
  231. "projectId": 10000
  232. },
  233. {
  234. "self": "https://example.com/rest/api/2/version/10001",
  235. "id": "10001",
  236. "name": "v2",
  237. "archived": false,
  238. "released": false,
  239. "projectId": 10000
  240. },
  241. {
  242. "self": "https://example.com/rest/api/2/version/10002",
  243. "id": "10002",
  244. "name": "v3",
  245. "archived": false,
  246. "released": false,
  247. "projectId": 10000
  248. }
  249. ]
  250. },
  251. {
  252. "required": false,
  253. "schema": {
  254. "type": "array",
  255. "items": "issuelinks",
  256. "system": "issuelinks"
  257. },
  258. "name": "Linked Issues",
  259. "fieldId": "issuelinks",
  260. "autoCompleteUrl": "https://example.com/rest/api/2/issue/picker?currentProjectId=&showSubTaskParent=true&showSubTasks=true&currentIssueKey=null&query=",
  261. "hasDefaultValue": false,
  262. "operations": ["add"]
  263. },
  264. {
  265. "required": true,
  266. "schema": {
  267. "type": "issuetype",
  268. "system": "issuetype"
  269. },
  270. "name": "Issue Type",
  271. "fieldId": "issuetype",
  272. "hasDefaultValue": false,
  273. "operations": [],
  274. "allowedValues": [
  275. {
  276. "self": "https://example.com/rest/api/2/issuetype/10004",
  277. "id": "10004",
  278. "description": "A problem which impairs or prevents the functions of the product.",
  279. "iconUrl": "https://example.com/secure/viewavatar?size=xsmall&avatarId=10303&avatarType=issuetype",
  280. "name": "Bug",
  281. "subtask": false,
  282. "avatarId": 10303
  283. }
  284. ]
  285. },
  286. {
  287. "required": false,
  288. "schema": {
  289. "type": "array",
  290. "items": "string",
  291. "system": "labels"
  292. },
  293. "name": "Labels",
  294. "fieldId": "labels",
  295. "autoCompleteUrl": "https://example.com/rest/api/1.0/labels/suggest?query=",
  296. "hasDefaultValue": false,
  297. "operations": ["add", "set", "remove"]
  298. },
  299. {
  300. "required": false,
  301. "schema": {
  302. "type": "priority",
  303. "system": "priority"
  304. },
  305. "name": "Priority",
  306. "fieldId": "priority",
  307. "hasDefaultValue": true,
  308. "operations": ["set"],
  309. "allowedValues": [
  310. {
  311. "self": "https://example.com/rest/api/2/priority/1",
  312. "iconUrl": "https://example.com/images/icons/priorities/highest.svg",
  313. "name": "Highest",
  314. "id": "1"
  315. },
  316. {
  317. "self": "https://example.com/rest/api/2/priority/2",
  318. "iconUrl": "https://example.com/images/icons/priorities/high.svg",
  319. "name": "High",
  320. "id": "2"
  321. },
  322. {
  323. "self": "https://example.com/rest/api/2/priority/3",
  324. "iconUrl": "https://example.com/images/icons/priorities/medium.svg",
  325. "name": "Medium",
  326. "id": "3"
  327. },
  328. {
  329. "self": "https://example.com/rest/api/2/priority/4",
  330. "iconUrl": "https://example.com/images/icons/priorities/low.svg",
  331. "name": "Low",
  332. "id": "4"
  333. },
  334. {
  335. "self": "https://example.com/rest/api/2/priority/5",
  336. "iconUrl": "https://example.com/images/icons/priorities/lowest.svg",
  337. "name": "Lowest",
  338. "id": "5"
  339. }
  340. ],
  341. "defaultValue": {
  342. "self": "https://example.com/rest/api/2/priority/3",
  343. "iconUrl": "https://example.com/images/icons/priorities/medium.svg",
  344. "name": "Medium",
  345. "id": "3"
  346. }
  347. },
  348. {
  349. "required": true,
  350. "schema": {
  351. "type": "project",
  352. "system": "project"
  353. },
  354. "name": "Project",
  355. "fieldId": "project",
  356. "hasDefaultValue": false,
  357. "operations": ["set"],
  358. "allowedValues": [
  359. {
  360. "self": "https://example.com/rest/api/2/project/10000",
  361. "id": "10000",
  362. "key": "IS",
  363. "name": "Initech Software",
  364. "projectTypeKey": "software",
  365. "avatarUrls": {
  366. "48x48": "https://example.com/secure/projectavatar?avatarId=10324",
  367. "24x24": "https://example.com/secure/projectavatar?size=small&avatarId=10324",
  368. "16x16": "https://example.com/secure/projectavatar?size=xsmall&avatarId=10324",
  369. "32x32": "https://example.com/secure/projectavatar?size=medium&avatarId=10324"
  370. }
  371. }
  372. ]
  373. },
  374. {
  375. "required": true,
  376. "schema": {
  377. "type": "user",
  378. "system": "reporter"
  379. },
  380. "name": "Reporter",
  381. "fieldId": "reporter",
  382. "autoCompleteUrl": "https://example.com/rest/api/latest/user/search?username=",
  383. "hasDefaultValue": false,
  384. "operations": ["set"]
  385. },
  386. {
  387. "required": true,
  388. "schema": {
  389. "type": "string",
  390. "system": "summary"
  391. },
  392. "name": "Summary",
  393. "fieldId": "summary",
  394. "hasDefaultValue": false,
  395. "operations": ["set"]
  396. },
  397. {
  398. "required": false,
  399. "schema": {
  400. "type": "array",
  401. "items": "version",
  402. "system": "versions"
  403. },
  404. "name": "Affects Version/s",
  405. "fieldId": "versions",
  406. "hasDefaultValue": false,
  407. "operations": ["set", "add", "remove"],
  408. "allowedValues": [
  409. {
  410. "self": "https://example.com/rest/api/2/version/10000",
  411. "id": "10000",
  412. "name": "v1",
  413. "archived": false,
  414. "released": false,
  415. "projectId": 10000
  416. },
  417. {
  418. "self": "https://example.com/rest/api/2/version/10001",
  419. "id": "10001",
  420. "name": "v2",
  421. "archived": false,
  422. "released": false,
  423. "projectId": 10000
  424. },
  425. {
  426. "self": "https://example.com/rest/api/2/version/10002",
  427. "id": "10002",
  428. "name": "v3",
  429. "archived": false,
  430. "released": false,
  431. "projectId": 10000
  432. }
  433. ]
  434. }
  435. ]
  436. }