calcom / synclinear.com

End-to-end sync of Linear and GitHub.
https://synclinear.com
MIT License
372 stars 61 forks source link

LINEAR_TICKET_ID_REGEX should support multiple length of identifier #156

Closed kentwelcome closed 8 months ago

kentwelcome commented 8 months ago

The current Linear identifier naming rule can support 1 ~ 5 characters. However, the regex in synclinear.com is hard-coded by three characters. https://github.com/calcom/synclinear.com/blob/b0277194852f583b43f4d6397dd13fd50104d077/utils/constants.ts#L65

In this case, if the linear team's identifier is not precisely three characters, it will confuse synclinear and create a duplicated linear issue when the users try to create a linear story with Public label. CleanShot 2024-02-29 at 11 45 24

tedspare commented 8 months ago

Closed by #157