issue_fields_response.json 14 KB

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