-
-
Notifications
You must be signed in to change notification settings - Fork 123
--exportAttributes labels #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the report. Looks like a bug - right now the code handles the single-object items ( |
It seems that the logics are already implemented in Lines 108 to 130 in 475a58f
As a temporary workaround, a simple change to const specificAttributeColumns = (data, attributes) => {
return data.map((issueObject) => {
const ret = {};
attributes.forEach((attribute) => {
ret[attribute] = getDataAttribute(issueObject, attribute);
if (attribute === "labels") {
ret[attribute] = issueObject.labels
.map((labelObject) => {
return labelObject.name;
})
.join(",");
}
});
return ret;
});
}; But this could be a bit redundant. Maybe we can decompose export.js#L108-L130 to a single method that is invoked by both |
is this still being worked on? I get blanks when trying to export |
Uh oh!
There was an error while loading. Please reload this page.
When I write the command
I get all the label attributes, I just want to have the labels.name
but if I type labels.name i get nothing
The text was updated successfully, but these errors were encountered: