Be able to use string in bug tracker

Bug #440472 reported by Alexandre Garnier
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Low
Alexandre Garnier

Bug Description

With --fixes option, it possible to use only numbers.
But with some bug trackers (e.g. JIRA), the bug ids are in the form ABC-123456 (where ABC is the component trigram)
The solution is to declare one bug tracker for each ABC, but it is not really easy.

It would be cool to be able to declare 1 bug tracker 'bugtracker_JIRA_url = http://myjira/browse/{id}' and then use :
bzr ci --fixes JIRA:ABC-123456

Tags: easy

Related branches

Revision history for this message
James Westby (james-w) wrote :

Hi,

I think this is quite easy to fix if we wish to.

At the moment, in bzrlib/bugtracker.py GenericBugTracker
derives from URLParametrizedIntegerBugTracker, but restructuring
so that it is not a subclass of IntegerBugTracker would work.

The only downside I could see to this would be that mistakes when
it is supposed to be an integer wouldn't be caught, but I think
that is acceptable.

Thanks,

James

Changed in bzr:
status: New → Confirmed
importance: Undecided → Low
tags: added: easy
Changed in bzr:
assignee: nobody → Alexandre Garnier (zigarn)
Changed in bzr:
status: Confirmed → Fix Committed
Vincent Ladeuil (vila)
Changed in bzr:
status: Fix Committed → Fix Released
milestone: none → 2.3b1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.