-
Suggestion
-
Resolution: Unresolved
-
3
-
2
-
Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.
It is currently not possible to use JQL to access Github information such as an issue's Pull Request or Pull Request Reviews.
This is explained in this community post, as well as in this article which shows that the development information available for GitHub or GitHub Enterprise is as follows: view branches (not create), view commits, and view and create pull requests.
- screenshot-1.png
- 390 kB
- screenshot-2.png
- 131 kB
- screenshot-3.png
- 108 kB
- is related to
-
AUTO-634 New triggers for workflow integrated with GitHub
- Closed
-
AUTO-730 DevOps Automation: Allow triggers to work with BitBucket Server, Bitbucket Data Center, GitLab On-Premise and GitHub Enterprise, add more smart values and actions for working with pull requests and repositories
- Reviewing
- relates to
-
JRACLOUD-60724 JQL Entity Property for Pull Request Status
- Gathering Interest
- mentioned in
-
Page Failed to load
[JRACLOUD-90013] Allow access to more Github development information such as Pull Requests and Reviews
Consider this automation:
When a new GitHub PR is created (this trigger exists in Jia) then add a comment wth link to the issue (this action does not exist in Jira)
Thank you for the workaround, Anusha!
In order to retrieve the webhook response data and specifically retrieve the pull request title from the JSON response, the following smart value can be used:
{{webhookData."pull_request"."title"}}
- Documentation for incoming webhook smartvalue: Incoming webhook
Possible workaround using Jira Automation and Github Webhooks (not working yet)
- Set up Pull Request Review webhook in Github making sure to select contentype:application/json:
- In Jira Automation catch the Github webhook:
Example payload:{ "action": "submitted", "review": { "id": 1072186919, "node_id": "PRR_kwDOHwOtks4_6EYn", "user": { "login": "a-rutnam", "id": 27404534, "node_id": "MDQ6VXNlcjI3NDA0NTM0", "avatar_url": "https://avatars.githubusercontent.com/u/27404534?v=4", "gravatar_id": "", "url": "https://api.github.com/users/a-rutnam", "html_url": "https://github.com/a-rutnam", "followers_url": "https://api.github.com/users/a-rutnam/followers", "following_url": "https://api.github.com/users/a-rutnam/following{/other_user}", "gists_url": "https://api.github.com/users/a-rutnam/gists{/gist_id}", "starred_url": "https://api.github.com/users/a-rutnam/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/a-rutnam/subscriptions", "organizations_url": "https://api.github.com/users/a-rutnam/orgs", "repos_url": "https://api.github.com/users/a-rutnam/repos", "events_url": "https://api.github.com/users/a-rutnam/events{/privacy}", "received_events_url": "https://api.github.com/users/a-rutnam/received_events", "type": "User", "site_admin": false }, "body": "h3f", "commit_id": "89d52f6bd534eb12fbff5485fd7aa1bb9be4db96", "submitted_at": "2022-08-15T02:41:45Z", "state": "commented", "html_url": "https://github.com/arutnam22/desktop-tutorial/pull/8#pullrequestreview-1072186919", "pull_request_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/pulls/8", "author_association": "COLLABORATOR", "_links": { "html": { "href": "https://github.com/arutnam22/desktop-tutorial/pull/8#pullrequestreview-1072186919" }, "pull_request": { "href": "https://api.github.com/repos/arutnam22/desktop-tutorial/pulls/8" } } }, "pull_request": { "url": "https://api.github.com/repos/arutnam22/desktop-tutorial/pulls/8", "id": 1020238438, "node_id": "PR_kwDOHwOtks48z5pm", "html_url": "https://github.com/arutnam22/desktop-tutorial/pull/8", "diff_url": "https://github.com/arutnam22/desktop-tutorial/pull/8.diff", "patch_url": "https://github.com/arutnam22/desktop-tutorial/pull/8.patch", "issue_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/issues/8", "number": 8, "state": "open", "locked": false, "title": "New branch WVT-4", "user": { "login": "arutnam22", "id": 110381893, "node_id": "U_kgDOBpRLRQ", "avatar_url": "https://avatars.githubusercontent.com/u/110381893?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arutnam22", "html_url": "https://github.com/arutnam22", "followers_url": "https://api.github.com/users/arutnam22/followers", "following_url": "https://api.github.com/users/arutnam22/following{/other_user}", "gists_url": "https://api.github.com/users/arutnam22/gists{/gist_id}", "starred_url": "https://api.github.com/users/arutnam22/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arutnam22/subscriptions", "organizations_url": "https://api.github.com/users/arutnam22/orgs", "repos_url": "https://api.github.com/users/arutnam22/repos", "events_url": "https://api.github.com/users/arutnam22/events{/privacy}", "received_events_url": "https://api.github.com/users/arutnam22/received_events", "type": "User", "site_admin": false }, "body": null, "created_at": "2022-08-08T12:36:44Z", "updated_at": "2022-08-15T02:41:45Z", "closed_at": null, "merged_at": null, "merge_commit_sha": "bb87c7a38cb6103f978c8bc877259207c4b1ae41", "assignee": null, "assignees": [ ], "requested_reviewers": [ ], "requested_teams": [ ], "labels": [ ], "milestone": null, "draft": false, "commits_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/pulls/8/commits", "review_comments_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/pulls/8/comments", "review_comment_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/pulls/comments{/number}", "comments_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/issues/8/comments", "statuses_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/statuses/89d52f6bd534eb12fbff5485fd7aa1bb9be4db96", "head": { "label": "arutnam22:new_branch", "ref": "new_branch", "sha": "89d52f6bd534eb12fbff5485fd7aa1bb9be4db96", "user": { "login": "arutnam22", "id": 110381893, "node_id": "U_kgDOBpRLRQ", "avatar_url": "https://avatars.githubusercontent.com/u/110381893?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arutnam22", "html_url": "https://github.com/arutnam22", "followers_url": "https://api.github.com/users/arutnam22/followers", "following_url": "https://api.github.com/users/arutnam22/following{/other_user}", "gists_url": "https://api.github.com/users/arutnam22/gists{/gist_id}", "starred_url": "https://api.github.com/users/arutnam22/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arutnam22/subscriptions", "organizations_url": "https://api.github.com/users/arutnam22/orgs", "repos_url": "https://api.github.com/users/arutnam22/repos", "events_url": "https://api.github.com/users/arutnam22/events{/privacy}", "received_events_url": "https://api.github.com/users/arutnam22/received_events", "type": "User", "site_admin": false }, "repo": { "id": 520334738, "node_id": "R_kgDOHwOtkg", "name": "desktop-tutorial", "full_name": "arutnam22/desktop-tutorial", "private": true, "owner": { "login": "arutnam22", "id": 110381893, "node_id": "U_kgDOBpRLRQ", "avatar_url": "https://avatars.githubusercontent.com/u/110381893?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arutnam22", "html_url": "https://github.com/arutnam22", "followers_url": "https://api.github.com/users/arutnam22/followers", "following_url": "https://api.github.com/users/arutnam22/following{/other_user}", "gists_url": "https://api.github.com/users/arutnam22/gists{/gist_id}", "starred_url": "https://api.github.com/users/arutnam22/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arutnam22/subscriptions", "organizations_url": "https://api.github.com/users/arutnam22/orgs", "repos_url": "https://api.github.com/users/arutnam22/repos", "events_url": "https://api.github.com/users/arutnam22/events{/privacy}", "received_events_url": "https://api.github.com/users/arutnam22/received_events", "type": "User", "site_admin": false }, "html_url": "https://github.com/arutnam22/desktop-tutorial", "description": "GitHub Desktop tutorial repository", "fork": false, "url": "https://api.github.com/repos/arutnam22/desktop-tutorial", "forks_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/forks", "keys_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/teams", "hooks_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/hooks", "issue_events_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/issues/events{/number}", "events_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/events", "assignees_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/assignees{/user}", "branches_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/branches{/branch}", "tags_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/tags", "blobs_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/git/refs{/sha}", "trees_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/statuses/{sha}", "languages_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/languages", "stargazers_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/stargazers", "contributors_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/contributors", "subscribers_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/subscribers", "subscription_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/subscription", "commits_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/commits{/sha}", "git_commits_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/git/commits{/sha}", "comments_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/comments{/number}", "issue_comment_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/issues/comments{/number}", "contents_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/contents/{+path}", "compare_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/merges", "archive_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/downloads", "issues_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/issues{/number}", "pulls_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/pulls{/number}", "milestones_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/milestones{/number}", "notifications_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/labels{/name}", "releases_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/releases{/id}", "deployments_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/deployments", "created_at": "2022-08-02T03:12:10Z", "updated_at": "2022-08-08T11:49:52Z", "pushed_at": "2022-08-08T13:17:08Z", "git_url": "git://github.com/arutnam22/desktop-tutorial.git", "ssh_url": "git@github.com:arutnam22/desktop-tutorial.git", "clone_url": "https://github.com/arutnam22/desktop-tutorial.git", "svn_url": "https://github.com/arutnam22/desktop-tutorial", "homepage": null, "size": 9, "stargazers_count": 0, "watchers_count": 0, "language": "HTML", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 2, "license": null, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [ ], "visibility": "private", "forks": 0, "open_issues": 2, "watchers": 0, "default_branch": "main", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, "allow_auto_merge": false, "delete_branch_on_merge": false, "allow_update_branch": false, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE" } }, "base": { "label": "arutnam22:main", "ref": "main", "sha": "98b56209978bd56fd7b06938ebfdf1361db07726", "user": { "login": "arutnam22", "id": 110381893, "node_id": "U_kgDOBpRLRQ", "avatar_url": "https://avatars.githubusercontent.com/u/110381893?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arutnam22", "html_url": "https://github.com/arutnam22", "followers_url": "https://api.github.com/users/arutnam22/followers", "following_url": "https://api.github.com/users/arutnam22/following{/other_user}", "gists_url": "https://api.github.com/users/arutnam22/gists{/gist_id}", "starred_url": "https://api.github.com/users/arutnam22/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arutnam22/subscriptions", "organizations_url": "https://api.github.com/users/arutnam22/orgs", "repos_url": "https://api.github.com/users/arutnam22/repos", "events_url": "https://api.github.com/users/arutnam22/events{/privacy}", "received_events_url": "https://api.github.com/users/arutnam22/received_events", "type": "User", "site_admin": false }, "repo": { "id": 520334738, "node_id": "R_kgDOHwOtkg", "name": "desktop-tutorial", "full_name": "arutnam22/desktop-tutorial", "private": true, "owner": { "login": "arutnam22", "id": 110381893, "node_id": "U_kgDOBpRLRQ", "avatar_url": "https://avatars.githubusercontent.com/u/110381893?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arutnam22", "html_url": "https://github.com/arutnam22", "followers_url": "https://api.github.com/users/arutnam22/followers", "following_url": "https://api.github.com/users/arutnam22/following{/other_user}", "gists_url": "https://api.github.com/users/arutnam22/gists{/gist_id}", "starred_url": "https://api.github.com/users/arutnam22/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arutnam22/subscriptions", "organizations_url": "https://api.github.com/users/arutnam22/orgs", "repos_url": "https://api.github.com/users/arutnam22/repos", "events_url": "https://api.github.com/users/arutnam22/events{/privacy}", "received_events_url": "https://api.github.com/users/arutnam22/received_events", "type": "User", "site_admin": false }, "html_url": "https://github.com/arutnam22/desktop-tutorial", "description": "GitHub Desktop tutorial repository", "fork": false, "url": "https://api.github.com/repos/arutnam22/desktop-tutorial", "forks_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/forks", "keys_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/teams", "hooks_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/hooks", "issue_events_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/issues/events{/number}", "events_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/events", "assignees_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/assignees{/user}", "branches_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/branches{/branch}", "tags_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/tags", "blobs_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/git/refs{/sha}", "trees_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/statuses/{sha}", "languages_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/languages", "stargazers_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/stargazers", "contributors_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/contributors", "subscribers_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/subscribers", "subscription_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/subscription", "commits_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/commits{/sha}", "git_commits_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/git/commits{/sha}", "comments_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/comments{/number}", "issue_comment_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/issues/comments{/number}", "contents_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/contents/{+path}", "compare_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/merges", "archive_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/downloads", "issues_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/issues{/number}", "pulls_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/pulls{/number}", "milestones_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/milestones{/number}", "notifications_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/labels{/name}", "releases_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/releases{/id}", "deployments_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/deployments", "created_at": "2022-08-02T03:12:10Z", "updated_at": "2022-08-08T11:49:52Z", "pushed_at": "2022-08-08T13:17:08Z", "git_url": "git://github.com/arutnam22/desktop-tutorial.git", "ssh_url": "git@github.com:arutnam22/desktop-tutorial.git", "clone_url": "https://github.com/arutnam22/desktop-tutorial.git", "svn_url": "https://github.com/arutnam22/desktop-tutorial", "homepage": null, "size": 9, "stargazers_count": 0, "watchers_count": 0, "language": "HTML", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 2, "license": null, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [ ], "visibility": "private", "forks": 0, "open_issues": 2, "watchers": 0, "default_branch": "main", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, "allow_auto_merge": false, "delete_branch_on_merge": false, "allow_update_branch": false, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE" } }, "_links": { "self": { "href": "https://api.github.com/repos/arutnam22/desktop-tutorial/pulls/8" }, "html": { "href": "https://github.com/arutnam22/desktop-tutorial/pull/8" }, "issue": { "href": "https://api.github.com/repos/arutnam22/desktop-tutorial/issues/8" }, "comments": { "href": "https://api.github.com/repos/arutnam22/desktop-tutorial/issues/8/comments" }, "review_comments": { "href": "https://api.github.com/repos/arutnam22/desktop-tutorial/pulls/8/comments" }, "review_comment": { "href": "https://api.github.com/repos/arutnam22/desktop-tutorial/pulls/comments{/number}" }, "commits": { "href": "https://api.github.com/repos/arutnam22/desktop-tutorial/pulls/8/commits" }, "statuses": { "href": "https://api.github.com/repos/arutnam22/desktop-tutorial/statuses/89d52f6bd534eb12fbff5485fd7aa1bb9be4db96" } }, "author_association": "OWNER", "auto_merge": null, "active_lock_reason": null }, "repository": { "id": 520334738, "node_id": "R_kgDOHwOtkg", "name": "desktop-tutorial", "full_name": "arutnam22/desktop-tutorial", "private": true, "owner": { "login": "arutnam22", "id": 110381893, "node_id": "U_kgDOBpRLRQ", "avatar_url": "https://avatars.githubusercontent.com/u/110381893?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arutnam22", "html_url": "https://github.com/arutnam22", "followers_url": "https://api.github.com/users/arutnam22/followers", "following_url": "https://api.github.com/users/arutnam22/following{/other_user}", "gists_url": "https://api.github.com/users/arutnam22/gists{/gist_id}", "starred_url": "https://api.github.com/users/arutnam22/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arutnam22/subscriptions", "organizations_url": "https://api.github.com/users/arutnam22/orgs", "repos_url": "https://api.github.com/users/arutnam22/repos", "events_url": "https://api.github.com/users/arutnam22/events{/privacy}", "received_events_url": "https://api.github.com/users/arutnam22/received_events", "type": "User", "site_admin": false }, "html_url": "https://github.com/arutnam22/desktop-tutorial", "description": "GitHub Desktop tutorial repository", "fork": false, "url": "https://api.github.com/repos/arutnam22/desktop-tutorial", "forks_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/forks", "keys_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/teams", "hooks_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/hooks", "issue_events_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/issues/events{/number}", "events_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/events", "assignees_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/assignees{/user}", "branches_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/branches{/branch}", "tags_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/tags", "blobs_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/git/refs{/sha}", "trees_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/statuses/{sha}", "languages_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/languages", "stargazers_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/stargazers", "contributors_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/contributors", "subscribers_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/subscribers", "subscription_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/subscription", "commits_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/commits{/sha}", "git_commits_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/git/commits{/sha}", "comments_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/comments{/number}", "issue_comment_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/issues/comments{/number}", "contents_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/contents/{+path}", "compare_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/merges", "archive_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/downloads", "issues_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/issues{/number}", "pulls_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/pulls{/number}", "milestones_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/milestones{/number}", "notifications_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/labels{/name}", "releases_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/releases{/id}", "deployments_url": "https://api.github.com/repos/arutnam22/desktop-tutorial/deployments", "created_at": "2022-08-02T03:12:10Z", "updated_at": "2022-08-08T11:49:52Z", "pushed_at": "2022-08-08T13:17:08Z", "git_url": "git://github.com/arutnam22/desktop-tutorial.git", "ssh_url": "git@github.com:arutnam22/desktop-tutorial.git", "clone_url": "https://github.com/arutnam22/desktop-tutorial.git", "svn_url": "https://github.com/arutnam22/desktop-tutorial", "homepage": null, "size": 9, "stargazers_count": 0, "watchers_count": 0, "language": "HTML", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 2, "license": null, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [ ], "visibility": "private", "forks": 0, "open_issues": 2, "watchers": 0, "default_branch": "main" }, "sender": { "login": "a-rutnam", "id": 27404534, "node_id": "MDQ6VXNlcjI3NDA0NTM0", "avatar_url": "https://avatars.githubusercontent.com/u/27404534?v=4", "gravatar_id": "", "url": "https://api.github.com/users/a-rutnam", "html_url": "https://github.com/a-rutnam", "followers_url": "https://api.github.com/users/a-rutnam/followers", "following_url": "https://api.github.com/users/a-rutnam/following{/other_user}", "gists_url": "https://api.github.com/users/a-rutnam/gists{/gist_id}", "starred_url": "https://api.github.com/users/a-rutnam/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/a-rutnam/subscriptions", "organizations_url": "https://api.github.com/users/a-rutnam/orgs", "repos_url": "https://api.github.com/users/a-rutnam/repos", "events_url": "https://api.github.com/users/a-rutnam/events{/privacy}", "received_events_url": "https://api.github.com/users/a-rutnam/received_events", "type": "User", "site_admin": false } }
The problem here is how to extract the issueKey from the above payload (it's there in payload.pull_request.title). Perhaps seems some logic similar to how we extract the issue key from smart commits. If that can be achieved, then the conditional from the screenshot can be applied.
This could be extremely helpful to have custom filters that can easily expose what is (and shouldn't) be going into a release depending on the timing in which PRs got merged.