Closed arthef closed 5 years ago
Hi @arturhefczyc,
Thanks for the kind words!
Actually updating the custom fields of issues should be possible with the issues.update
command, for example like so (as documented in https://www.jetbrains.com/help/youtrack/standalone/operations-api-issues.html):
youtrack.issues.update({
id: 'P1-1',
fields: [{
value: {
name: 'Major'
},
id: '96-1',
$type: 'SingleEnumIssueCustomField'
}]
}).then(issue => {
console.log(toJson(issue));
});
Apparently the issue properties 'fields', and 'customFields' seem to be same to youtrack, this library uses the 'fields' property though.
@shanehofstetter
Apparently the issue properties 'fields', and 'customFields' seem to be same to youtrack, this library uses the 'fields' property though.
But there is no available method to get the ID of a field, which is a required property:
Hi,
I have just finished coding my own simplified REST API interface to add tickets and comments to YouTrack when I stumbled upon your library. Pretty neat piece of code! I was about to replace all my work to start using your library when I noticed that there is no examples for updating custom fields.
Does your library have any support for custom fields for issues in YouTrack?
I am implementing integration interface between YouTrack and third party systems and support for custom fields is essential to me.
Artur