m-radzikowski / youtrack-issue-cards-printer

Google Chrome extension to print issues from JetBrains YouTrack as cards for physical scrum board
https://chrome.google.com/webstore/detail/youtrack-issue-cards-prin/pjcejghclgihlhinleocjojdalhnhckp
Apache License 2.0
5 stars 1 forks source link

Support for assignee data-field #7

Closed yayyhb closed 5 years ago

yayyhb commented 5 years ago

Background

I want to add the assignee data to a custom template, but it seems not to be sopported. Added data-field="Assignee". [Object object] is displayed. Further we have no clue how to add the profileAvatar of a assignee.

What to fix

Please wether provide a full list of fields, the exension is capable to handle OR if there is a bug, fix assignee data-field.

m-radzikowski commented 5 years ago

Hey, I've just published version 0.3.1 with support for the "assignee" field. In custom template use assigneeFullName or assigneeValue (for just a login) to get the assignee.

On the other hand, support for profile avatar is very unlikely, as it would require doing HTTP requests for every user to firstly get user(s) ID, and then their avatars.