Commits (4)
{
"tagPrefix": "",
"commitUrlFormat": "https://transfer.hft-stuttgart.de/gitlab/unified-ticketing/-/commit/{{hash}}",
"commitUrlFormat": "https://transfer.hft-stuttgart.de/gitlab/9Lukas5/unified-ticketing/-/commit/{{hash}}",
"compareUrlFormat": "https://transfer.hft-stuttgart.de/gitlab/9Lukas5/unified-ticketing/-/compare/{{previousTag}}...{{currentTag}}",
"issueUrlFormat": "https://transfer.hft-stuttgart.de/gitlab/9Lukas5/unified-ticketing/-/issues/{{id}}"
}
......@@ -2,20 +2,28 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [0.2.1](https://transfer.hft-stuttgart.de/gitlab/9Lukas5/unified-ticketing/-/compare/0.2.0...0.2.1) (2021-01-02)
### Bug Fixes
* **systems/github:** Filter: add missing post filter for ticket ID filtering ([9654ae5](https://transfer.hft-stuttgart.de/gitlab/9Lukas5/unified-ticketing/-/commit/9654ae513a9f98686aa68014d192255943369d99))
* **systems/github:** Filter: get open and closed issues if no according filter was set ([4f84589](https://transfer.hft-stuttgart.de/gitlab/9Lukas5/unified-ticketing/-/commit/4f845899f098518e49eb6047313d446b692ddf38))
## [0.2.0](https://transfer.hft-stuttgart.de/gitlab/9Lukas5/unified-ticketing/-/compare/0.1.1...0.2.0) (2020-12-21)
### Features
* **core/filter:** add field and getter for last received item count ([468262f](https://transfer.hft-stuttgart.de/gitlab/unified-ticketing/-/commit/468262f0d033572d0bcff8ddb82b46941fb14751))
* **systems:** add implementation for GitHub ([25207b2](https://transfer.hft-stuttgart.de/gitlab/unified-ticketing/-/commit/25207b2458c14cc4ff7863c9b251b66d6b708967))
* **core/filter:** add field and getter for last received item count ([468262f](https://transfer.hft-stuttgart.de/gitlab/9Lukas5/unified-ticketing/-/commit/468262f0d033572d0bcff8ddb82b46941fb14751))
* **systems:** add implementation for GitHub ([25207b2](https://transfer.hft-stuttgart.de/gitlab/9Lukas5/unified-ticketing/-/commit/25207b2458c14cc4ff7863c9b251b66d6b708967))
### [0.1.1](https://transfer.hft-stuttgart.de/gitlab/9Lukas5/unified-ticketing/-/compare/0.1.0...0.1.1) (2020-12-10)
### Features
* enable mvn javadoc plugin ([c2ca81e](https://transfer.hft-stuttgart.de/gitlab/unified-ticketing/-/commit/c2ca81e80da49e37a561bad115b06a62bc5f7e91))
* enable mvn javadoc plugin ([c2ca81e](https://transfer.hft-stuttgart.de/gitlab/9Lukas5/unified-ticketing/-/commit/c2ca81e80da49e37a561bad115b06a62bc5f7e91))
## [0.1.0](https://transfer.hft-stuttgart.de/gitlab/9Lukas5/unified-ticketing/-/compare/0.0.0...0.1.0) (2020-11-23)
......
......@@ -48,6 +48,10 @@ public class GithubFilter extends Filter<GithubTicket, GithubFilter>
HttpUrl.Builder urlBuilder = requestBuilder.build().url().newBuilder();
// set default values before checking user filters,
// to match default behaviour
urlBuilder.addQueryParameter("state", "all");
for (Map.Entry<String, Object> mapEntry : setFilters.entrySet())
{
String f = mapEntry.getKey();
......@@ -229,6 +233,11 @@ public class GithubFilter extends Filter<GithubTicket, GithubFilter>
ticketStream = ticketStream.filter(t -> t.body.matches((String) v));
}
else if (f.equals(FilterNames.IDS.name()))
{
ticketStream = ticketStream.filter(t -> ((Set<String>) v).contains(String.valueOf(t.number)));
}
else if (f.equals(FilterNames.TITLE_CONTAINS.name()))
{
ticketStream = ticketStream.filter(t -> t.title
......