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

Created handler to copy linked issue labels #91

Closed
wants to merge 1 commit into from

Conversation

Spazzy757
Copy link
Owner

Signed-off-by: Spazzy brendankamp757@gmail.com

Changelog

  • adds the functionality to copy the labels from the linked issues

Issues

fix: #66

Signed-off-by: Spazzy <brendankamp757@gmail.com>
@codecov-commenter
Copy link

Codecov Report

Merging #91 (ab13c61) into main (d267a74) will decrease coverage by 0.17%.
The diff coverage is 60.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #91      +/-   ##
==========================================
- Coverage   86.33%   86.16%   -0.18%     
==========================================
  Files          13       13              
  Lines         761      766       +5     
==========================================
+ Hits          657      660       +3     
- Misses         74       75       +1     
- Partials       30       31       +1     
Flag Coverage Δ
unittests 86.16% <60.00%> (-0.18%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/github/pullrequests.go 83.43% <60.00%> (-0.78%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d267a74...ab13c61. Read the comment docs.

@Spazzy757
Copy link
Owner Author

So after reading through a hell of a lot of forums and posts, it seems that the functionality I was planning for this PR does not exist via the API (https://github.community/t/get-all-issues-linked-to-a-pull-request/14653) The only current workaround would be to pull the html page and scrape it for the referenced linked issue and this would not work for any private repos

@Spazzy757
Copy link
Owner Author

/close

@Spazzy757 Spazzy757 closed this Apr 22, 2021
@Spazzy757 Spazzy757 deleted the feature-copy-issue-labels branch April 23, 2021 08:45
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 this pull request may close these issues.

Copy labels from linked issues to PR
2 participants