mozilla-it / bugzilla-kanbanize

Sync Automation between Kanbanize and Mozilla
0 stars 1 forks source link

reuse existing cards when setting the whiteboard status #16

Closed floatingatoll closed 8 years ago

floatingatoll commented 8 years ago

When a bug's whiteboard status is cleared and we've asked the script to fix up the whiteboard, rather than assuming we need to create a new card, link to the existing card when one exists.

The script numerically sorts the cards so that we always link to the first card, when multiple cards reference a given bug, so that we aren't at risk of churning bug numbers when duplicates exist.