You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This could be do-able, but would require a relatively high-privilege GitHub access token to modify the pull request — currently the extension requests a Linear access token, but isn’t authorized with GitHub.
Unless there’s a way to script it from the page, e.g. a button to “Mark as closing FOO-2332” which when clicked edits and saves the PR description for you. That might work — wouldn’t be automated, but could be one click away.
Edit: yes, just confirmed this could be possible:
constissueBody=document.querySelector('.js-command-palette-issue-body');consteditButton=issueBody.querySelector('.js-comment-edit-button');editButton.click();consteditForm=issueBody.querySelector('.js-comment-update');consttextarea=editForm.querySelector('textarea');// modify textarea.valueeditForm.submit();// N.B. reloads the page
Context
Idea would be to add the ID from the created issue (on Linear) directly at the end of the description from the pull request.
E.g.: "Closes FOO-2332."
So basically the Linear issue would be linked to the pull req.
Otherwise the add-on is great guys, great job!
The text was updated successfully, but these errors were encountered: