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

Add support for cross project issues #15

Open
davseby opened this issue Sep 11, 2023 · 5 comments · May be fixed by #7
Open

Add support for cross project issues #15

davseby opened this issue Sep 11, 2023 · 5 comments · May be fixed by #7

Comments

@davseby
Copy link

davseby commented Sep 11, 2023

The issue may be specified like this:
{org}/{project}#{issue_id}

It seems like for a such scenario, this action isn't working.

@michalvankodev
Copy link
Owner

How do you usually "link" this issue? Through linked issues from the right-hand side menu or do you mention them in the PR description? example:
fixes org/project#issue_id

I think it could be possible. Do the fixes and other keywords work (automatically close issues) when you write such line into the PR description?

@davseby
Copy link
Author

davseby commented Sep 12, 2023

Hi, yes, they get linked like usual across the organisation repositories.

E.g. Let's say we have an organisation mockery, then we have a repository tailored explicitly for holding issue like mockery-roadmap and some sort of code repository mockery-project. When creating a pull request in mockery-project, we can reference an issue in mockery-roadmap like this: Closes mockery/mockery-roadmap#1.

@michalvankodev michalvankodev linked a pull request Sep 12, 2023 that will close this issue
@michalvankodev
Copy link
Owner

michalvankodev commented Sep 12, 2023

It looks like that with #14 this functionality should work. Except for cases with custom keywords. Let me know if the new version 1.3.0. resolves this issue.

@davseby
Copy link
Author

davseby commented Sep 12, 2023

I think the regex needs to be updated. It didn't work.

@michalvankodev
Copy link
Owner

Well, the functionality is not built on top of the regexp, but rather GraphQL API where we can search for closingIssuesReferences. If your task is linked with a keyword, it should be listed on the right-hand side as a linked issue that will get closed. My guess we will also require to fetch the issue from that different project.

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

Successfully merging a pull request may close this issue.

2 participants