When using the following route : [GET] api/v1/tracker_reports/247/artifacts?values=all on the tuleap.net repository I get some values with are of type sb with string bind_values_ids. In the Mylyn Tuleap connector, this causes an exception as the connector expect numbers for select boxes, and strings for open lists. For example, this is an example where the bind_value_ids are Strings :
{
"field_id": 1511,
"type": "sb",
"label": "Support Team",
"values": [
{
"id": "101",
"uri": "user_groups/101",
"label": "Developer",
"users_uri": "user_groups/101/users",
"short_name": "Developer",
"key": "Developer"
}
],
"bind_value_ids": [
"101"
]
}
and another where they are numbers :
{
"field_id": 1082,
"type": "sb",
"label": "Reported in version",
"values": [
{
"id": "3229",
"label": "6.8",
"color": null
}
],
"bind_value_ids": [
3229
]
}
As discussed in the mailing list, should I work my way around that in the connector code or is it easily fixable in the api route?
Best regards,
Patrick