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 link to create new issue with all TODOs #3

Open
rohit-gohri opened this issue Mar 13, 2020 · 0 comments
Open

Add link to create new issue with all TODOs #3

rohit-gohri opened this issue Mar 13, 2020 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@rohit-gohri
Copy link
Owner

rohit-gohri commented Mar 13, 2020

Something like Gitlab's "Resolve this thread in a new issue".

For github this should be easy:

const url = `https://github.com/rohit-gohri/danger-plugin-todos/issues/new?title=${
  encodeURIComponent('Resolve TODOs from PR #1')
}&body=${todos}`

JIRA:
https://confluence.atlassian.com/display/JIRA051/Creating+Issues+via+direct+HTML+links

Figure out for gitlab.
Maybe provide a function overrider for this too, like in repoUrl. So that cases like JIRA and all can be handled.

@rohit-gohri rohit-gohri added the enhancement New feature or request label Mar 13, 2020
@rohit-gohri rohit-gohri added the help wanted Extra attention is needed label Jan 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant