PUT Project Custom Field REST API

Hello.

I am trying to copy custom fields from one project to other. I have problems with PUT Custom Field method, I don't know what are the names of the PUT method parameters, because in the documentation are described only two.

Documentation: https://confluence.jetbrains.com/display/YTD6/PUT+Project+Custom+Field

I need two more parameter names:
1. Parameter for setting Can Be Empty value (canBeEmpty).
2. Parameter for setting Default Value of field.

Regards,

Krasimir Atanasov.
0
7 comments
Hi Krasimir,

Please, try with following patterns:
canBeEmpty=<false/true>&defaultValue=<username>

Thank you.
0
<message deleted>
0
Hi Andrey,

I have tried already. Unfortunately it does not work. :(
Do you have other suggestions?

Thanks.
0
Krasimir,

Thank you for reporting this. We'll investigated this shortly.
0
Andrey,

Thank you. I am waiting for response.

Kind regards,
Krasimir Atanasov
0
Krasimir,

Found related feature request.
Could you please provide me with complete scenario? Maybe, it's easier to create custom fields manually?

Thank you.
0
Andrey,

I want to make application which creates new YouTrack project and copies all custom-fields and their values from existing project.

Regards,
Krasimir Atanasov
0

Please sign in to leave a comment.