lp2kanban will lose track of blueprint-linked cards if they get linked to a merge proposal

Bug #1112622 reported by Graham Binns
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LP2Kanban
Fix Committed
Medium
Unassigned

Bug Description

The following situation will cause lp2kanban to stop updating a blueprint's work item from a card:

 * Card linked to blueprint using external link field
 * Card linked to bug using external id field
 * Merge proposal linked to bug via branch (This causes the external_system_url field on the card to be updated with the MP URL)
 * After this point, bugs2cards.sync_board() will no longer treat the card as needing to be synced with a blueprint, since it uses board.getCardsWithExternalLinks() to find the cards it needs to sync.

Proposed solution:

 * Stop using board.getCardsWithExternalLinks(); instead, we should create a getCardsWithBlueprints() or some such that checks for card.description_annotations.blueprint_url.

Related branches

Graham Binns (gmb)
Changed in lp2kanban:
status: Triaged → In Progress
assignee: nobody → Graham Binns (gmb)
Graham Binns (gmb)
Changed in lp2kanban:
status: In Progress → Confirmed
assignee: Graham Binns (gmb) → nobody
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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