Skip to content

Add support for Gitlab repository #14

@DennisAlund

Description

@DennisAlund

Add support for creating and searching for issues in gitlab to support the same functionality as implemented for github.

if (repositoryUrl.startsWith("https://github.com")) {
const attributes = [
`title=${encodeURI(appCrash.issueTitle)}`,
`labels=${appCrash.tags.map((tag) => encodeURI(tag)).join(",")}`,
];
return `${repositoryUrl}/issues/new?${attributes.join("&")}`;
}

if (repositoryUrl.startsWith("https://github.com")) {
return `${repositoryUrl}/issues?q=${encodeURI(appCrash.issueTitle)}`;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions