pub async fn search_related_issues(
client: &Octocrab,
owner: &str,
repo: &str,
title: &str,
exclude_number: u64,
) -> Result<Vec<RepoIssueContext>>Expand description
Searches for related issues in a repository based on title keywords.
Extracts keywords from the issue title and searches the repository for matching issues. Returns up to 20 results, excluding the specified issue.
§Arguments
client- Authenticated Octocrab clientowner- Repository ownerrepo- Repository nametitle- Issue title to extract keywords fromexclude_number- Issue number to exclude from results
§Errors
Returns an error if the search API request fails.