Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: add version tag when a release contains issue #325

Open
smikheiev opened this issue May 16, 2023 · 3 comments
Open

Feature request: add version tag when a release contains issue #325

smikheiev opened this issue May 16, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@smikheiev
Copy link

Hi Linear Team,

Thanks for all your work on such a great tool!

I wonder if it's possible to add a tag to Linear issue when it's mentioned in a Github Release?

A use case example. We add a Linear issue number to all PR titles, so Linear links PRs to issues. Later we use PR titles as a release changelog. So the release changelog looks like

[AU-123] Add new feature
[AU-321] Fix a bug
...

So in the release changelog we see which tasks it includes. But from Linear, we don't see in which version a task was released 🤔 It would be nice when a new release is created, a tag with the release version was automatically added to all issues mentioned in the release changelog

@berenar
Copy link

berenar commented Jul 18, 2023

This would be great!

@guillaumelachaud guillaumelachaud added the enhancement New feature or request label Jul 26, 2023
@guillaumelachaud
Copy link
Contributor

Hi!

We do not support this kind of use-case natively yet. But you could build such an automation by using a webhook that would add a label to an issue when a PR is merged.

@thomasvds
Copy link

thomasvds commented Sep 27, 2023

Hello @guillaumelachaud, I'm actually implementing exactly this feature with a custom integration. However I don't manage to find the way to add a label to an issue without removing all other labels. For example, if I try to add the label "Release 42" to an issue with the label "Front", the label "Front" gets removed. I've been using updateIssue and updateIssueBatch which both override existing labels. Could you kindly advise on how to proceed?

EDIT: to be more specific, I cannot find an equivalent for the IssueAddLabel mutation in the SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants