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

Adding a function into the built-ins functions to get the linked issue's information #828

Open
lokesh3097 opened this issue Apr 12, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@lokesh3097
Copy link

Description

Currently, the built-in functions can only give us information about whether there is a linked issue with respect to a Pull Request but cannot give any other information related to the linked issue.

So, it would be nice to have a functions or more than one function to that can give additional information about the linked issue.

Motivation

There is a requirement to automatically block a Pull Request when the linked issue doesn't yet have a label status: ready for dev.

This one is just start, there many be many things that the maintainers want to do to a Pull Request based on information related to a linked issue.

Proposed solution

One or more functions that can provide with the information related to the linked issue.

Alternatives considered

Custom code can be written to do this but it would be developer friendly if reviewpad can do this.

Additional context

@lokesh3097 lokesh3097 added the enhancement New feature or request label Apr 12, 2023
@reviewpad
Copy link

reviewpad bot commented Apr 12, 2023

Welcome @lokesh3097! Thank you so much for your first issue!

@reviewpad
Copy link

reviewpad bot commented Apr 12, 2023

AI-Generated Summary: This issue concerns the lack of detailed information about linked issues in Pull Requests provided by built-in functions. The user proposes to create one or more functions that can access additional information about the linked issue, such as labels. This will allow maintainers to automatically block a Pull Request if the linked issue lacks a specific label, like status: ready for dev. The user considers that providing such functions would be more developer-friendly than writing custom code.

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

1 participant