Kiwi icon indicating copy to clipboard operation
Kiwi copied to clipboard

Mantis bug tracker integration

Open mikii111 opened this issue 5 years ago • 3 comments

Would be usefull to be able to integrate with Mantis bug tracker

mikii111 avatar Mar 26 '19 13:03 mikii111

Kiwi TCMS needs help with implementing bug tracker integration with Mantis!

The way Kiwi TCMS integrates with external bug tracking systems is documented at https://kiwitcms.readthedocs.io/en/latest/modules/tcms.issuetracker.html#module-tcms.issuetracker with the basic methods documented in https://kiwitcms.readthedocs.io/en/latest/modules/tcms.issuetracker.base.html (also see other modules for more examples).

Definition of Done:

  • The following features must be supported:

    • 1-click bug report
    • automatic bug update with manual fallback
    • show bug info
  • Implementation is in tcms/issuetracker/mantis.py, class Mantis + add the new dotted path to EXTERNAL_BUG_TRACKERS setting.

  • There doesn't seem to be a Python API library for Mantis. A good start is probably https://www.mantisbt.org/docs/master/en-US/Developers_Guide/html/ and https://documenter.getpostman.com/view/29959/mantis-bug-tracker-rest-api/7Lt6zkP

  • Automated tests:

    • job definition is in .github/workflows/integration_bugtracker.yml
    • Docker + test data setup is in tests/<...> - follow the other examples there
    • Actual test code is in tcms/issuetracker/tests/ - follow the other examples there
    • Preferably we use a Docker container for the test, if need be build it ourselves (see tests/bugzilla/ for examples)
  • CI pass

  • All code review passed & PR merged

Hints:

  • Devel getting started docs: https://kiwitcms.readthedocs.io/en/latest/contribution.html#testing
  • Django testing documentation: https://docs.djangoproject.com/en/3.1/topics/testing/

This issue is part of Kiwi TCMS open source bounty program. For more information see the link(s) in bounty-program milestone

Note: this is a 200 EUR bounty.

kiwitcms-bot avatar Sep 15 '20 18:09 kiwitcms-bot

@mfonism ping

atodorov avatar Nov 25 '21 10:11 atodorov

Hello @atodorov , Is it planned to have Mantis bug tracker integration?

It seems there is a decline in the trend of usage of this oldy but goldy bug tracker.

B4F9812A-C41A-4BDE-A0BD-FF042440E438

cmbahadir avatar Sep 21 '22 17:09 cmbahadir

It is not a big deal to implement the tracker integration, there is a very well documented Mantis Rest API. But testing could be a problem where it is required to use an public endpoint, and Mantis BT does not have it.

A free Mantis HUB could be provided by Mantis by any chance, which is to be used in the Kiwi TCMS integration tests.

Link to : Mantis HUB

cmbahadir avatar Sep 23 '22 12:09 cmbahadir