Open liangweihua-rock opened 4 years ago
Hello @liangweihua-rock groupBy
is either label
or an Object (which means you need the config file) see https://github-tools.github.io/github-release-notes/options.html#group-by-1
Hello @liangweihua-rock
groupBy
is eitherlabel
or an Object (which means you need the config file) see https://github-tools.github.io/github-release-notes/options.html#group-by-1
Thanks a lot for your reply, I've tried the config file in the format of https://github-tools.github.io/github-release-notes/options.html#group-by-1, seems the issues is grouped by Label1 OR label2, i.e I want to group the issue with label1 AND label2 in one group, but seems all the issues with lable1 OR label2 are grouped in. I'll try it further.
@liangweihua-rock oh I see what you mean.
We don't have any logic for that atm. Have you thought of a possible API for it?
@liangweihua-rock oh I see what you mean.
We don't have any logic for that atm. Have you thought of a possible API for it?
Yes...I hope there would be an API to group the label1 AND label2, but I am not familar with javascript, I am in learning process.
@liangweihua-rock I think we could use Arrays for that.
Something like this would group under the group Enhancements
, the issues that have (enhancement AND new feature) OR internal
.
{
"groupBy": {
"Enhancements:": [["enhancement", "new feature"], "internal"]
}
}
I got following error when group by specific label, can I do it by any option? gren's version is 0.17.0