GothenburgBitFactory / bugwarrior

Pull github, bitbucket, and trac issues into taskwarrior
http://pypi.python.org/pypi/bugwarrior
GNU General Public License v3.0
732 stars 209 forks source link

Gitlab: work items #1016

Open rubdos opened 8 months ago

rubdos commented 8 months ago

Gitlab recently introduced Work Items, used to subdivide issues into smaller tasks.

I've started using them on Gitlab. While they get assigned identifiers in the same space as issues (so, work items numbers are just issue numbers), they don't show up in Bugwarrior. It would be nice if they could show up. Additionally, bugwarrior could also register the dependencies between a work-item and its parent issue!

rubdos commented 8 months ago

I've looked a bit around:

work_items is the generalization of issues/tasks/epics etc:

Work Item types

A set of predefined types for different categories of work items. Currently, the available types are:

[Incident](https://docs.gitlab.com/ee/operations/incident_management/incidents.html)
[Test case](https://docs.gitlab.com/ee/ci/test_cases/index.html)
[Requirement](https://docs.gitlab.com/ee/user/project/requirements/index.html)
[Task](https://docs.gitlab.com/ee/user/tasks.html)
[OKRs](https://docs.gitlab.com/ee/user/okrs.html)

Work is underway to convert existing objects to Work Item Types or add new ones:

[Issue](https://gitlab.com/groups/gitlab-org/-/epics/9584)
[Epic](https://gitlab.com/groups/gitlab-org/-/epics/9290)
[Ticket](https://gitlab.com/groups/gitlab-org/-/epics/10419)

What I actually wanted to see in BW are Gitlab tasks, but tasks are currently not API-exposed.

ryneeverett commented 8 months ago

Hopefully gitlab releases a new api that uniformly exposes all the Work Item Types. In the meantime, are Work Items themselves API-exposed yet? (That is, is this issue actionable?)

rubdos commented 8 months ago

That is, is this issue actionable?

I don't think it's currently actionable, no, from my very quick glance over the docs and some experimenting.