Make default status for new Linear issues configurable
Currently all new Linear issues default to “to do”, which may not make sense, especially in a PR context. Proposal to make this configurable when creating an issue from these three distinct scenarios:
- in an issue (to do by default)
- in a PR (in review by default)
- in a draft PR (in progress by default)
H/T @Princesseuh for the idea!
Remembered the problem with this: Linear supports a different set of statuses per team and if you use one that doesn’t exist in the team, it’ll be ignored which is kind of weird behaviour. The generic type field can’t be used here (backlog, unstarted, started, completed, and canceled), it has to be Todo, In Progress etc. so this setting would need to depend on you setting a default team, I guess.
Progress in https://github.com/delucis/github-to-linear/tree/dx-184/default-statuses but I’m not very happy with the code — options.js probably needs a full refactor if we really think this is helpful.