Developer Portal for YouTrack and Hub 2021.3 Help

Attributes

Represents the collection of custom attributes that have been added to user profiles. To retrieve a value that is stored in the profile for a referenced user, use the attribute value as the key. The entire object is read-only.

issue.fields.addComment('To contact me outside of normal office hours, call ' + ctx.currentUser.attributes['phone']);

Last modified: 13 July 2021