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

GH issue with two labels causes two jira tickets created #71

Open
beliaev-maksim opened this issue Jan 13, 2025 · 0 comments
Open

GH issue with two labels causes two jira tickets created #71

beliaev-maksim opened this issue Jan 13, 2025 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@beliaev-maksim
Copy link
Member

When an issue is created with 2+ labels it will fire separate events for each label. Need to think if that could be avoided in code or clearly document the process to use bot .github/.jira_sync_config.yaml setting labels:

Example:
canonical/parca-k8s-operator#375

causes three webhooks

1st label

{
  "action": "labeled",
  "issue": {
    "url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/375",
    "repository_url": "https://api.github.com/repos/canonical/parca-k8s-operator",
    "labels_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/375/labels{/name}",
    "comments_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/375/comments",
    "events_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/375/events",
    "html_url": "https://github.com/canonical/parca-k8s-operator/issues/375",
    "id": 2783719222,
    "node_id": "I_kwDOHu9cbs6l7C82",
    "number": 375,
    "title": "validate issue for sync",
    "user": {
      "login": "beliaev-maksim",
      "id": 51964909,
      "node_id": "MDQ6VXNlcjUxOTY0OTA5",
      "avatar_url": "https://avatars.githubusercontent.com/u/51964909?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/beliaev-maksim",
      "html_url": "https://github.com/beliaev-maksim",
      "followers_url": "https://api.github.com/users/beliaev-maksim/followers",
      "following_url": "https://api.github.com/users/beliaev-maksim/following{/other_user}",
      "gists_url": "https://api.github.com/users/beliaev-maksim/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/beliaev-maksim/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/beliaev-maksim/subscriptions",
      "organizations_url": "https://api.github.com/users/beliaev-maksim/orgs",
      "repos_url": "https://api.github.com/users/beliaev-maksim/repos",
      "events_url": "https://api.github.com/users/beliaev-maksim/events{/privacy}",
      "received_events_url": "https://api.github.com/users/beliaev-maksim/received_events",
      "type": "User",
      "user_view_type": "public",
      "site_admin": false
    },
    "labels": [
      {
        "id": 7538049285,
        "node_id": "LA_kwDOHu9cbs8AAAABwU2BBQ",
        "url": "https://api.github.com/repos/canonical/parca-k8s-operator/labels/Status:%20Triage",
        "name": "Status: Triage",
        "color": "d15141",
        "default": false,
        "description": ""
      },
      {
        "id": 7538198948,
        "node_id": "LA_kwDOHu9cbs8AAAABwU_JpA",
        "url": "https://api.github.com/repos/canonical/parca-k8s-operator/labels/Type:%20Enhancement",
        "name": "Type: Enhancement",
        "color": "a2eeef",
        "default": false,
        "description": ""
      }
    ],
    "state": "open",
    "locked": false,
    "assignee": null,
    "assignees": [

    ],
    "milestone": null,
    "comments": 0,
    "created_at": "2025-01-13T11:37:43Z",
    "updated_at": "2025-01-13T11:37:43Z",
    "closed_at": null,
    "author_association": "MEMBER",
    "active_lock_reason": null,
    "body": "### Enhancement Proposal\n\ntest",
    "reactions": {
      "url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/375/reactions",
      "total_count": 0,
      "+1": 0,
      "-1": 0,
      "laugh": 0,
      "hooray": 0,
      "confused": 0,
      "heart": 0,
      "rocket": 0,
      "eyes": 0
    },
    "timeline_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/375/timeline",
    "performed_via_github_app": null,
    "state_reason": null
  },
  "label": {
    "id": 7538198948,
    "node_id": "LA_kwDOHu9cbs8AAAABwU_JpA",
    "url": "https://api.github.com/repos/canonical/parca-k8s-operator/labels/Type:%20Enhancement",
    "name": "Type: Enhancement",
    "color": "a2eeef",
    "default": false,
    "description": ""
  },
  "repository": {
    "id": 519003246,
    "node_id": "R_kgDOHu9cbg",
    "name": "parca-k8s-operator",
    "full_name": "canonical/parca-k8s-operator",
    "private": false,
    "owner": {
      "login": "canonical",
      "id": 53057619,
      "node_id": "MDEyOk9yZ2FuaXphdGlvbjUzMDU3NjE5",
      "avatar_url": "https://avatars.githubusercontent.com/u/53057619?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/canonical",
      "html_url": "https://github.com/canonical",
      "followers_url": "https://api.github.com/users/canonical/followers",
      "following_url": "https://api.github.com/users/canonical/following{/other_user}",
      "gists_url": "https://api.github.com/users/canonical/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/canonical/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/canonical/subscriptions",
      "organizations_url": "https://api.github.com/users/canonical/orgs",
      "repos_url": "https://api.github.com/users/canonical/repos",
      "events_url": "https://api.github.com/users/canonical/events{/privacy}",
      "received_events_url": "https://api.github.com/users/canonical/received_events",
      "type": "Organization",
      "user_view_type": "public",
      "site_admin": false
    },
    "html_url": "https://github.com/canonical/parca-k8s-operator",
    "description": null,
    "fork": false,
    "url": "https://api.github.com/repos/canonical/parca-k8s-operator",
    "forks_url": "https://api.github.com/repos/canonical/parca-k8s-operator/forks",
    "keys_url": "https://api.github.com/repos/canonical/parca-k8s-operator/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/canonical/parca-k8s-operator/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/canonical/parca-k8s-operator/teams",
    "hooks_url": "https://api.github.com/repos/canonical/parca-k8s-operator/hooks",
    "issue_events_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/events{/number}",
    "events_url": "https://api.github.com/repos/canonical/parca-k8s-operator/events",
    "assignees_url": "https://api.github.com/repos/canonical/parca-k8s-operator/assignees{/user}",
    "branches_url": "https://api.github.com/repos/canonical/parca-k8s-operator/branches{/branch}",
    "tags_url": "https://api.github.com/repos/canonical/parca-k8s-operator/tags",
    "blobs_url": "https://api.github.com/repos/canonical/parca-k8s-operator/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/canonical/parca-k8s-operator/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/canonical/parca-k8s-operator/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/canonical/parca-k8s-operator/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/canonical/parca-k8s-operator/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/canonical/parca-k8s-operator/languages",
    "stargazers_url": "https://api.github.com/repos/canonical/parca-k8s-operator/stargazers",
    "contributors_url": "https://api.github.com/repos/canonical/parca-k8s-operator/contributors",
    "subscribers_url": "https://api.github.com/repos/canonical/parca-k8s-operator/subscribers",
    "subscription_url": "https://api.github.com/repos/canonical/parca-k8s-operator/subscription",
    "commits_url": "https://api.github.com/repos/canonical/parca-k8s-operator/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/canonical/parca-k8s-operator/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/canonical/parca-k8s-operator/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/canonical/parca-k8s-operator/contents/{+path}",
    "compare_url": "https://api.github.com/repos/canonical/parca-k8s-operator/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/canonical/parca-k8s-operator/merges",
    "archive_url": "https://api.github.com/repos/canonical/parca-k8s-operator/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/canonical/parca-k8s-operator/downloads",
    "issues_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues{/number}",
    "pulls_url": "https://api.github.com/repos/canonical/parca-k8s-operator/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/canonical/parca-k8s-operator/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/canonical/parca-k8s-operator/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/canonical/parca-k8s-operator/labels{/name}",
    "releases_url": "https://api.github.com/repos/canonical/parca-k8s-operator/releases{/id}",
    "deployments_url": "https://api.github.com/repos/canonical/parca-k8s-operator/deployments",
    "created_at": "2022-07-28T21:50:07Z",
    "updated_at": "2025-01-10T13:00:11Z",
    "pushed_at": "2025-01-10T13:05:56Z",
    "git_url": "git://github.com/canonical/parca-k8s-operator.git",
    "ssh_url": "[email protected]:canonical/parca-k8s-operator.git",
    "clone_url": "https://github.com/canonical/parca-k8s-operator.git",
    "svn_url": "https://github.com/canonical/parca-k8s-operator",
    "homepage": "https://charmhub.io/parca-k8s",
    "size": 805,
    "stargazers_count": 2,
    "watchers_count": 2,
    "language": "Python",
    "has_issues": true,
    "has_projects": false,
    "has_downloads": true,
    "has_wiki": false,
    "has_pages": false,
    "has_discussions": false,
    "forks_count": 2,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 16,
    "license": {
      "key": "apache-2.0",
      "name": "Apache License 2.0",
      "spdx_id": "Apache-2.0",
      "url": "https://api.github.com/licenses/apache-2.0",
      "node_id": "MDc6TGljZW5zZTI="
    },
    "allow_forking": true,
    "is_template": false,
    "web_commit_signoff_required": true,
    "topics": [
      "charms",
      "juju",
      "observability"
    ],
    "visibility": "public",
    "forks": 2,
    "open_issues": 16,
    "watchers": 2,
    "default_branch": "main",
    "custom_properties": {

    }
  },
  "organization": {
    "login": "canonical",
    "id": 53057619,
    "node_id": "MDEyOk9yZ2FuaXphdGlvbjUzMDU3NjE5",
    "url": "https://api.github.com/orgs/canonical",
    "repos_url": "https://api.github.com/orgs/canonical/repos",
    "events_url": "https://api.github.com/orgs/canonical/events",
    "hooks_url": "https://api.github.com/orgs/canonical/hooks",
    "issues_url": "https://api.github.com/orgs/canonical/issues",
    "members_url": "https://api.github.com/orgs/canonical/members{/member}",
    "public_members_url": "https://api.github.com/orgs/canonical/public_members{/member}",
    "avatar_url": "https://avatars.githubusercontent.com/u/53057619?v=4",
    "description": ""
  },
  "enterprise": {
    "id": 103375,
    "slug": "canonical",
    "name": "Canonical",
    "node_id": "E_kgDOAAGTzw",
    "avatar_url": "https://avatars.githubusercontent.com/b/103375?v=4",
    "description": null,
    "website_url": null,
    "html_url": "https://github.com/enterprises/canonical",
    "created_at": "2023-12-11T08:42:36Z",
    "updated_at": "2024-10-21T08:16:43Z"
  },
  "sender": {
    "login": "beliaev-maksim",
    "id": 51964909,
    "node_id": "MDQ6VXNlcjUxOTY0OTA5",
    "avatar_url": "https://avatars.githubusercontent.com/u/51964909?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/beliaev-maksim",
    "html_url": "https://github.com/beliaev-maksim",
    "followers_url": "https://api.github.com/users/beliaev-maksim/followers",
    "following_url": "https://api.github.com/users/beliaev-maksim/following{/other_user}",
    "gists_url": "https://api.github.com/users/beliaev-maksim/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/beliaev-maksim/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/beliaev-maksim/subscriptions",
    "organizations_url": "https://api.github.com/users/beliaev-maksim/orgs",
    "repos_url": "https://api.github.com/users/beliaev-maksim/repos",
    "events_url": "https://api.github.com/users/beliaev-maksim/events{/privacy}",
    "received_events_url": "https://api.github.com/users/beliaev-maksim/received_events",
    "type": "User",
    "user_view_type": "public",
    "site_admin": false
  },
  "installation": {
    "id": 37898057,
    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMzc4OTgwNTc="
  }
}

issue opened

{
  "action": "opened",
  "issue": {
    "url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/375",
    "repository_url": "https://api.github.com/repos/canonical/parca-k8s-operator",
    "labels_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/375/labels{/name}",
    "comments_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/375/comments",
    "events_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/375/events",
    "html_url": "https://github.com/canonical/parca-k8s-operator/issues/375",
    "id": 2783719222,
    "node_id": "I_kwDOHu9cbs6l7C82",
    "number": 375,
    "title": "validate issue for sync",
    "user": {
      "login": "beliaev-maksim",
      "id": 51964909,
      "node_id": "MDQ6VXNlcjUxOTY0OTA5",
      "avatar_url": "https://avatars.githubusercontent.com/u/51964909?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/beliaev-maksim",
      "html_url": "https://github.com/beliaev-maksim",
      "followers_url": "https://api.github.com/users/beliaev-maksim/followers",
      "following_url": "https://api.github.com/users/beliaev-maksim/following{/other_user}",
      "gists_url": "https://api.github.com/users/beliaev-maksim/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/beliaev-maksim/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/beliaev-maksim/subscriptions",
      "organizations_url": "https://api.github.com/users/beliaev-maksim/orgs",
      "repos_url": "https://api.github.com/users/beliaev-maksim/repos",
      "events_url": "https://api.github.com/users/beliaev-maksim/events{/privacy}",
      "received_events_url": "https://api.github.com/users/beliaev-maksim/received_events",
      "type": "User",
      "user_view_type": "public",
      "site_admin": false
    },
    "labels": [
      {
        "id": 7538049285,
        "node_id": "LA_kwDOHu9cbs8AAAABwU2BBQ",
        "url": "https://api.github.com/repos/canonical/parca-k8s-operator/labels/Status:%20Triage",
        "name": "Status: Triage",
        "color": "d15141",
        "default": false,
        "description": ""
      },
      {
        "id": 7538198948,
        "node_id": "LA_kwDOHu9cbs8AAAABwU_JpA",
        "url": "https://api.github.com/repos/canonical/parca-k8s-operator/labels/Type:%20Enhancement",
        "name": "Type: Enhancement",
        "color": "a2eeef",
        "default": false,
        "description": ""
      }
    ],
    "state": "open",
    "locked": false,
    "assignee": null,
    "assignees": [

    ],
    "milestone": null,
    "comments": 0,
    "created_at": "2025-01-13T11:37:43Z",
    "updated_at": "2025-01-13T11:37:43Z",
    "closed_at": null,
    "author_association": "MEMBER",
    "active_lock_reason": null,
    "body": "### Enhancement Proposal\n\ntest",
    "reactions": {
      "url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/375/reactions",
      "total_count": 0,
      "+1": 0,
      "-1": 0,
      "laugh": 0,
      "hooray": 0,
      "confused": 0,
      "heart": 0,
      "rocket": 0,
      "eyes": 0
    },
    "timeline_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/375/timeline",
    "performed_via_github_app": null,
    "state_reason": null
  },
  "repository": {
    "id": 519003246,
    "node_id": "R_kgDOHu9cbg",
    "name": "parca-k8s-operator",
    "full_name": "canonical/parca-k8s-operator",
    "private": false,
    "owner": {
      "login": "canonical",
      "id": 53057619,
      "node_id": "MDEyOk9yZ2FuaXphdGlvbjUzMDU3NjE5",
      "avatar_url": "https://avatars.githubusercontent.com/u/53057619?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/canonical",
      "html_url": "https://github.com/canonical",
      "followers_url": "https://api.github.com/users/canonical/followers",
      "following_url": "https://api.github.com/users/canonical/following{/other_user}",
      "gists_url": "https://api.github.com/users/canonical/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/canonical/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/canonical/subscriptions",
      "organizations_url": "https://api.github.com/users/canonical/orgs",
      "repos_url": "https://api.github.com/users/canonical/repos",
      "events_url": "https://api.github.com/users/canonical/events{/privacy}",
      "received_events_url": "https://api.github.com/users/canonical/received_events",
      "type": "Organization",
      "user_view_type": "public",
      "site_admin": false
    },
    "html_url": "https://github.com/canonical/parca-k8s-operator",
    "description": null,
    "fork": false,
    "url": "https://api.github.com/repos/canonical/parca-k8s-operator",
    "forks_url": "https://api.github.com/repos/canonical/parca-k8s-operator/forks",
    "keys_url": "https://api.github.com/repos/canonical/parca-k8s-operator/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/canonical/parca-k8s-operator/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/canonical/parca-k8s-operator/teams",
    "hooks_url": "https://api.github.com/repos/canonical/parca-k8s-operator/hooks",
    "issue_events_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/events{/number}",
    "events_url": "https://api.github.com/repos/canonical/parca-k8s-operator/events",
    "assignees_url": "https://api.github.com/repos/canonical/parca-k8s-operator/assignees{/user}",
    "branches_url": "https://api.github.com/repos/canonical/parca-k8s-operator/branches{/branch}",
    "tags_url": "https://api.github.com/repos/canonical/parca-k8s-operator/tags",
    "blobs_url": "https://api.github.com/repos/canonical/parca-k8s-operator/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/canonical/parca-k8s-operator/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/canonical/parca-k8s-operator/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/canonical/parca-k8s-operator/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/canonical/parca-k8s-operator/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/canonical/parca-k8s-operator/languages",
    "stargazers_url": "https://api.github.com/repos/canonical/parca-k8s-operator/stargazers",
    "contributors_url": "https://api.github.com/repos/canonical/parca-k8s-operator/contributors",
    "subscribers_url": "https://api.github.com/repos/canonical/parca-k8s-operator/subscribers",
    "subscription_url": "https://api.github.com/repos/canonical/parca-k8s-operator/subscription",
    "commits_url": "https://api.github.com/repos/canonical/parca-k8s-operator/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/canonical/parca-k8s-operator/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/canonical/parca-k8s-operator/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/canonical/parca-k8s-operator/contents/{+path}",
    "compare_url": "https://api.github.com/repos/canonical/parca-k8s-operator/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/canonical/parca-k8s-operator/merges",
    "archive_url": "https://api.github.com/repos/canonical/parca-k8s-operator/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/canonical/parca-k8s-operator/downloads",
    "issues_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues{/number}",
    "pulls_url": "https://api.github.com/repos/canonical/parca-k8s-operator/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/canonical/parca-k8s-operator/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/canonical/parca-k8s-operator/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/canonical/parca-k8s-operator/labels{/name}",
    "releases_url": "https://api.github.com/repos/canonical/parca-k8s-operator/releases{/id}",
    "deployments_url": "https://api.github.com/repos/canonical/parca-k8s-operator/deployments",
    "created_at": "2022-07-28T21:50:07Z",
    "updated_at": "2025-01-10T13:00:11Z",
    "pushed_at": "2025-01-10T13:05:56Z",
    "git_url": "git://github.com/canonical/parca-k8s-operator.git",
    "ssh_url": "[email protected]:canonical/parca-k8s-operator.git",
    "clone_url": "https://github.com/canonical/parca-k8s-operator.git",
    "svn_url": "https://github.com/canonical/parca-k8s-operator",
    "homepage": "https://charmhub.io/parca-k8s",
    "size": 805,
    "stargazers_count": 2,
    "watchers_count": 2,
    "language": "Python",
    "has_issues": true,
    "has_projects": false,
    "has_downloads": true,
    "has_wiki": false,
    "has_pages": false,
    "has_discussions": false,
    "forks_count": 2,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 16,
    "license": {
      "key": "apache-2.0",
      "name": "Apache License 2.0",
      "spdx_id": "Apache-2.0",
      "url": "https://api.github.com/licenses/apache-2.0",
      "node_id": "MDc6TGljZW5zZTI="
    },
    "allow_forking": true,
    "is_template": false,
    "web_commit_signoff_required": true,
    "topics": [
      "charms",
      "juju",
      "observability"
    ],
    "visibility": "public",
    "forks": 2,
    "open_issues": 16,
    "watchers": 2,
    "default_branch": "main",
    "custom_properties": {

    }
  },
  "organization": {
    "login": "canonical",
    "id": 53057619,
    "node_id": "MDEyOk9yZ2FuaXphdGlvbjUzMDU3NjE5",
    "url": "https://api.github.com/orgs/canonical",
    "repos_url": "https://api.github.com/orgs/canonical/repos",
    "events_url": "https://api.github.com/orgs/canonical/events",
    "hooks_url": "https://api.github.com/orgs/canonical/hooks",
    "issues_url": "https://api.github.com/orgs/canonical/issues",
    "members_url": "https://api.github.com/orgs/canonical/members{/member}",
    "public_members_url": "https://api.github.com/orgs/canonical/public_members{/member}",
    "avatar_url": "https://avatars.githubusercontent.com/u/53057619?v=4",
    "description": ""
  },
  "enterprise": {
    "id": 103375,
    "slug": "canonical",
    "name": "Canonical",
    "node_id": "E_kgDOAAGTzw",
    "avatar_url": "https://avatars.githubusercontent.com/b/103375?v=4",
    "description": null,
    "website_url": null,
    "html_url": "https://github.com/enterprises/canonical",
    "created_at": "2023-12-11T08:42:36Z",
    "updated_at": "2024-10-21T08:16:43Z"
  },
  "sender": {
    "login": "beliaev-maksim",
    "id": 51964909,
    "node_id": "MDQ6VXNlcjUxOTY0OTA5",
    "avatar_url": "https://avatars.githubusercontent.com/u/51964909?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/beliaev-maksim",
    "html_url": "https://github.com/beliaev-maksim",
    "followers_url": "https://api.github.com/users/beliaev-maksim/followers",
    "following_url": "https://api.github.com/users/beliaev-maksim/following{/other_user}",
    "gists_url": "https://api.github.com/users/beliaev-maksim/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/beliaev-maksim/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/beliaev-maksim/subscriptions",
    "organizations_url": "https://api.github.com/users/beliaev-maksim/orgs",
    "repos_url": "https://api.github.com/users/beliaev-maksim/repos",
    "events_url": "https://api.github.com/users/beliaev-maksim/events{/privacy}",
    "received_events_url": "https://api.github.com/users/beliaev-maksim/received_events",
    "type": "User",
    "user_view_type": "public",
    "site_admin": false
  },
  "installation": {
    "id": 37898057,
    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMzc4OTgwNTc="
  }
}

2nd label

{
  "action": "labeled",
  "issue": {
    "url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/375",
    "repository_url": "https://api.github.com/repos/canonical/parca-k8s-operator",
    "labels_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/375/labels{/name}",
    "comments_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/375/comments",
    "events_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/375/events",
    "html_url": "https://github.com/canonical/parca-k8s-operator/issues/375",
    "id": 2783719222,
    "node_id": "I_kwDOHu9cbs6l7C82",
    "number": 375,
    "title": "validate issue for sync",
    "user": {
      "login": "beliaev-maksim",
      "id": 51964909,
      "node_id": "MDQ6VXNlcjUxOTY0OTA5",
      "avatar_url": "https://avatars.githubusercontent.com/u/51964909?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/beliaev-maksim",
      "html_url": "https://github.com/beliaev-maksim",
      "followers_url": "https://api.github.com/users/beliaev-maksim/followers",
      "following_url": "https://api.github.com/users/beliaev-maksim/following{/other_user}",
      "gists_url": "https://api.github.com/users/beliaev-maksim/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/beliaev-maksim/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/beliaev-maksim/subscriptions",
      "organizations_url": "https://api.github.com/users/beliaev-maksim/orgs",
      "repos_url": "https://api.github.com/users/beliaev-maksim/repos",
      "events_url": "https://api.github.com/users/beliaev-maksim/events{/privacy}",
      "received_events_url": "https://api.github.com/users/beliaev-maksim/received_events",
      "type": "User",
      "user_view_type": "public",
      "site_admin": false
    },
    "labels": [
      {
        "id": 7538049285,
        "node_id": "LA_kwDOHu9cbs8AAAABwU2BBQ",
        "url": "https://api.github.com/repos/canonical/parca-k8s-operator/labels/Status:%20Triage",
        "name": "Status: Triage",
        "color": "d15141",
        "default": false,
        "description": ""
      },
      {
        "id": 7538198948,
        "node_id": "LA_kwDOHu9cbs8AAAABwU_JpA",
        "url": "https://api.github.com/repos/canonical/parca-k8s-operator/labels/Type:%20Enhancement",
        "name": "Type: Enhancement",
        "color": "a2eeef",
        "default": false,
        "description": ""
      }
    ],
    "state": "open",
    "locked": false,
    "assignee": null,
    "assignees": [

    ],
    "milestone": null,
    "comments": 0,
    "created_at": "2025-01-13T11:37:43Z",
    "updated_at": "2025-01-13T11:37:43Z",
    "closed_at": null,
    "author_association": "MEMBER",
    "active_lock_reason": null,
    "body": "### Enhancement Proposal\n\ntest",
    "reactions": {
      "url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/375/reactions",
      "total_count": 0,
      "+1": 0,
      "-1": 0,
      "laugh": 0,
      "hooray": 0,
      "confused": 0,
      "heart": 0,
      "rocket": 0,
      "eyes": 0
    },
    "timeline_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/375/timeline",
    "performed_via_github_app": null,
    "state_reason": null
  },
  "label": {
    "id": 7538049285,
    "node_id": "LA_kwDOHu9cbs8AAAABwU2BBQ",
    "url": "https://api.github.com/repos/canonical/parca-k8s-operator/labels/Status:%20Triage",
    "name": "Status: Triage",
    "color": "d15141",
    "default": false,
    "description": ""
  },
  "repository": {
    "id": 519003246,
    "node_id": "R_kgDOHu9cbg",
    "name": "parca-k8s-operator",
    "full_name": "canonical/parca-k8s-operator",
    "private": false,
    "owner": {
      "login": "canonical",
      "id": 53057619,
      "node_id": "MDEyOk9yZ2FuaXphdGlvbjUzMDU3NjE5",
      "avatar_url": "https://avatars.githubusercontent.com/u/53057619?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/canonical",
      "html_url": "https://github.com/canonical",
      "followers_url": "https://api.github.com/users/canonical/followers",
      "following_url": "https://api.github.com/users/canonical/following{/other_user}",
      "gists_url": "https://api.github.com/users/canonical/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/canonical/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/canonical/subscriptions",
      "organizations_url": "https://api.github.com/users/canonical/orgs",
      "repos_url": "https://api.github.com/users/canonical/repos",
      "events_url": "https://api.github.com/users/canonical/events{/privacy}",
      "received_events_url": "https://api.github.com/users/canonical/received_events",
      "type": "Organization",
      "user_view_type": "public",
      "site_admin": false
    },
    "html_url": "https://github.com/canonical/parca-k8s-operator",
    "description": null,
    "fork": false,
    "url": "https://api.github.com/repos/canonical/parca-k8s-operator",
    "forks_url": "https://api.github.com/repos/canonical/parca-k8s-operator/forks",
    "keys_url": "https://api.github.com/repos/canonical/parca-k8s-operator/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/canonical/parca-k8s-operator/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/canonical/parca-k8s-operator/teams",
    "hooks_url": "https://api.github.com/repos/canonical/parca-k8s-operator/hooks",
    "issue_events_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/events{/number}",
    "events_url": "https://api.github.com/repos/canonical/parca-k8s-operator/events",
    "assignees_url": "https://api.github.com/repos/canonical/parca-k8s-operator/assignees{/user}",
    "branches_url": "https://api.github.com/repos/canonical/parca-k8s-operator/branches{/branch}",
    "tags_url": "https://api.github.com/repos/canonical/parca-k8s-operator/tags",
    "blobs_url": "https://api.github.com/repos/canonical/parca-k8s-operator/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/canonical/parca-k8s-operator/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/canonical/parca-k8s-operator/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/canonical/parca-k8s-operator/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/canonical/parca-k8s-operator/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/canonical/parca-k8s-operator/languages",
    "stargazers_url": "https://api.github.com/repos/canonical/parca-k8s-operator/stargazers",
    "contributors_url": "https://api.github.com/repos/canonical/parca-k8s-operator/contributors",
    "subscribers_url": "https://api.github.com/repos/canonical/parca-k8s-operator/subscribers",
    "subscription_url": "https://api.github.com/repos/canonical/parca-k8s-operator/subscription",
    "commits_url": "https://api.github.com/repos/canonical/parca-k8s-operator/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/canonical/parca-k8s-operator/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/canonical/parca-k8s-operator/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/canonical/parca-k8s-operator/contents/{+path}",
    "compare_url": "https://api.github.com/repos/canonical/parca-k8s-operator/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/canonical/parca-k8s-operator/merges",
    "archive_url": "https://api.github.com/repos/canonical/parca-k8s-operator/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/canonical/parca-k8s-operator/downloads",
    "issues_url": "https://api.github.com/repos/canonical/parca-k8s-operator/issues{/number}",
    "pulls_url": "https://api.github.com/repos/canonical/parca-k8s-operator/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/canonical/parca-k8s-operator/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/canonical/parca-k8s-operator/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/canonical/parca-k8s-operator/labels{/name}",
    "releases_url": "https://api.github.com/repos/canonical/parca-k8s-operator/releases{/id}",
    "deployments_url": "https://api.github.com/repos/canonical/parca-k8s-operator/deployments",
    "created_at": "2022-07-28T21:50:07Z",
    "updated_at": "2025-01-10T13:00:11Z",
    "pushed_at": "2025-01-10T13:05:56Z",
    "git_url": "git://github.com/canonical/parca-k8s-operator.git",
    "ssh_url": "[email protected]:canonical/parca-k8s-operator.git",
    "clone_url": "https://github.com/canonical/parca-k8s-operator.git",
    "svn_url": "https://github.com/canonical/parca-k8s-operator",
    "homepage": "https://charmhub.io/parca-k8s",
    "size": 805,
    "stargazers_count": 2,
    "watchers_count": 2,
    "language": "Python",
    "has_issues": true,
    "has_projects": false,
    "has_downloads": true,
    "has_wiki": false,
    "has_pages": false,
    "has_discussions": false,
    "forks_count": 2,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 16,
    "license": {
      "key": "apache-2.0",
      "name": "Apache License 2.0",
      "spdx_id": "Apache-2.0",
      "url": "https://api.github.com/licenses/apache-2.0",
      "node_id": "MDc6TGljZW5zZTI="
    },
    "allow_forking": true,
    "is_template": false,
    "web_commit_signoff_required": true,
    "topics": [
      "charms",
      "juju",
      "observability"
    ],
    "visibility": "public",
    "forks": 2,
    "open_issues": 16,
    "watchers": 2,
    "default_branch": "main",
    "custom_properties": {

    }
  },
  "organization": {
    "login": "canonical",
    "id": 53057619,
    "node_id": "MDEyOk9yZ2FuaXphdGlvbjUzMDU3NjE5",
    "url": "https://api.github.com/orgs/canonical",
    "repos_url": "https://api.github.com/orgs/canonical/repos",
    "events_url": "https://api.github.com/orgs/canonical/events",
    "hooks_url": "https://api.github.com/orgs/canonical/hooks",
    "issues_url": "https://api.github.com/orgs/canonical/issues",
    "members_url": "https://api.github.com/orgs/canonical/members{/member}",
    "public_members_url": "https://api.github.com/orgs/canonical/public_members{/member}",
    "avatar_url": "https://avatars.githubusercontent.com/u/53057619?v=4",
    "description": ""
  },
  "enterprise": {
    "id": 103375,
    "slug": "canonical",
    "name": "Canonical",
    "node_id": "E_kgDOAAGTzw",
    "avatar_url": "https://avatars.githubusercontent.com/b/103375?v=4",
    "description": null,
    "website_url": null,
    "html_url": "https://github.com/enterprises/canonical",
    "created_at": "2023-12-11T08:42:36Z",
    "updated_at": "2024-10-21T08:16:43Z"
  },
  "sender": {
    "login": "beliaev-maksim",
    "id": 51964909,
    "node_id": "MDQ6VXNlcjUxOTY0OTA5",
    "avatar_url": "https://avatars.githubusercontent.com/u/51964909?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/beliaev-maksim",
    "html_url": "https://github.com/beliaev-maksim",
    "followers_url": "https://api.github.com/users/beliaev-maksim/followers",
    "following_url": "https://api.github.com/users/beliaev-maksim/following{/other_user}",
    "gists_url": "https://api.github.com/users/beliaev-maksim/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/beliaev-maksim/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/beliaev-maksim/subscriptions",
    "organizations_url": "https://api.github.com/users/beliaev-maksim/orgs",
    "repos_url": "https://api.github.com/users/beliaev-maksim/repos",
    "events_url": "https://api.github.com/users/beliaev-maksim/events{/privacy}",
    "received_events_url": "https://api.github.com/users/beliaev-maksim/received_events",
    "type": "User",
    "user_view_type": "public",
    "site_admin": false
  },
  "installation": {
    "id": 37898057,
    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMzc4OTgwNTc="
  }
}

@beliaev-maksim beliaev-maksim added the help wanted Extra attention is needed label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant