Skip to main content

parse_issue_key

Function parse_issue_key 

Source
pub fn parse_issue_key(key: &str) -> Result<(String, i64)>
Expand description

Split ENG-412 into ("ENG", 412).

Team keys can contain digits and hyphens (WEB-2, A-B-12), so the split is on the last hyphen, and the tail has to be entirely numeric.