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.
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.
Please sign in to leave a comment.
Please, try with following patterns:
canBeEmpty=<false/true>&defaultValue=<username>
Thank you.
I have tried already. Unfortunately it does not work. :(
Do you have other suggestions?
Thanks.
Thank you for reporting this. We'll investigated this shortly.
Thank you. I am waiting for response.
Kind regards,
Krasimir Atanasov
Found related feature request.
Could you please provide me with complete scenario? Maybe, it's easier to create custom fields manually?
Thank you.
I want to make application which creates new YouTrack project and copies all custom-fields and their values from existing project.
Regards,
Krasimir Atanasov