YouTrack rest api - Get fields metadata -
i want create issues youtrack rest api, i'm using:
put /rest/issue?{project}&{summary}&{description}&{attachments}&{permittedgroup} but want set other fields (priority, type, subsystem...)
how list of available fields api? , fields metadata(is mandatory, field type...)?
and after that, how set value of these fields?
i found in docs: https://confluence.jetbrains.com/display/ytd6/apply+command+to+an+issue
but looks complex setting field.
issue can created following method , fields set https://confluence.jetbrains.com/display/ytd6/create+new+issue . mentioned, it's
put /rest/issue?{project}&{summary}&{description}&{attachments}&{permittedgroup} it's assumed, other fields can updated within next call. applycommand (https://confluence.jetbrains.com/display/ytd6/apply+command+to+an+issue)method pretty example of such method.
if need know available fields in projects, here method https://confluence.jetbrains.com/display/ytd6/get+project+custom+fields. meta can called following https://confluence.jetbrains.com/display/ytd6/get+project+custom+field. can see, details available on per field basis.
Comments
Post a Comment