Skip to content

Instantly share code, notes, and snippets.

@nickname55
Created May 5, 2021 15:49
Show Gist options
  • Save nickname55/1f85c0f6360bb26e9c1cb40fbeb8f589 to your computer and use it in GitHub Desktop.
Save nickname55/1f85c0f6360bb26e9c1cb40fbeb8f589 to your computer and use it in GitHub Desktop.
jira api - как получить список иконок применяемых для issue type

Отправить GET на

http://localhost:2990/jira/rest/api/2/avatar/issuetype/system

результат:

// http://localhost:2990/jira/rest/api/2/avatar/issuetype/system
{
  "system": [
    {
      "id": "10300",
      "isSystemAvatar": true,
      "isSelected": false,
      "isDeletable": false,
      "urls": {
        "48x48": "http://localhost:2990/jira/secure/useravatar?avatarId=10300",
        "24x24": "http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10300",
        "16x16": "http://localhost:2990/jira/secure/useravatar?size=xsmall&avatarId=10300",
        "32x32": "http://localhost:2990/jira/secure/useravatar?size=medium&avatarId=10300"
      },
      "selected": false
    },
    {
      "id": "10303",
      "isSystemAvatar": true,
      "isSelected": false,
      "isDeletable": false,
      "urls": {
        "48x48": "http://localhost:2990/jira/secure/useravatar?avatarId=10303",
        "24x24": "http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10303",
        "16x16": "http://localhost:2990/jira/secure/useravatar?size=xsmall&avatarId=10303",
        "32x32": "http://localhost:2990/jira/secure/useravatar?size=medium&avatarId=10303"
      },
      "selected": false
    },
    {
      "id": "10304",
      "isSystemAvatar": true,
      "isSelected": false,
      "isDeletable": false,
      "urls": {
        "48x48": "http://localhost:2990/jira/secure/useravatar?avatarId=10304",
        "24x24": "http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10304",
        "16x16": "http://localhost:2990/jira/secure/useravatar?size=xsmall&avatarId=10304",
        "32x32": "http://localhost:2990/jira/secure/useravatar?size=medium&avatarId=10304"
      },
      "selected": false
    },
    {
      "id": "10306",
      "isSystemAvatar": true,
      "isSelected": false,
      "isDeletable": false,
      "urls": {
        "48x48": "http://localhost:2990/jira/secure/useravatar?avatarId=10306",
        "24x24": "http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10306",
        "16x16": "http://localhost:2990/jira/secure/useravatar?size=xsmall&avatarId=10306",
        "32x32": "http://localhost:2990/jira/secure/useravatar?size=medium&avatarId=10306"
      },
      "selected": false
    },
    {
      "id": "10307",
      "isSystemAvatar": true,
      "isSelected": false,
      "isDeletable": false,
      "urls": {
        "48x48": "http://localhost:2990/jira/secure/useravatar?avatarId=10307",
        "24x24": "http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10307",
        "16x16": "http://localhost:2990/jira/secure/useravatar?size=xsmall&avatarId=10307",
        "32x32": "http://localhost:2990/jira/secure/useravatar?size=medium&avatarId=10307"
      },
      "selected": false
    },
    {
      "id": "10308",
      "isSystemAvatar": true,
      "isSelected": false,
      "isDeletable": false,
      "urls": {
        "48x48": "http://localhost:2990/jira/secure/useravatar?avatarId=10308",
        "24x24": "http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10308",
        "16x16": "http://localhost:2990/jira/secure/useravatar?size=xsmall&avatarId=10308",
        "32x32": "http://localhost:2990/jira/secure/useravatar?size=medium&avatarId=10308"
      },
      "selected": false
    },
    {
      "id": "10309",
      "isSystemAvatar": true,
      "isSelected": false,
      "isDeletable": false,
      "urls": {
        "48x48": "http://localhost:2990/jira/secure/useravatar?avatarId=10309",
        "24x24": "http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10309",
        "16x16": "http://localhost:2990/jira/secure/useravatar?size=xsmall&avatarId=10309",
        "32x32": "http://localhost:2990/jira/secure/useravatar?size=medium&avatarId=10309"
      },
      "selected": false
    },
    {
      "id": "10310",
      "isSystemAvatar": true,
      "isSelected": false,
      "isDeletable": false,
      "urls": {
        "48x48": "http://localhost:2990/jira/secure/useravatar?avatarId=10310",
        "24x24": "http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10310",
        "16x16": "http://localhost:2990/jira/secure/useravatar?size=xsmall&avatarId=10310",
        "32x32": "http://localhost:2990/jira/secure/useravatar?size=medium&avatarId=10310"
      },
      "selected": false
    },
    {
      "id": "10311",
      "isSystemAvatar": true,
      "isSelected": false,
      "isDeletable": false,
      "urls": {
        "48x48": "http://localhost:2990/jira/secure/useravatar?avatarId=10311",
        "24x24": "http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10311",
        "16x16": "http://localhost:2990/jira/secure/useravatar?size=xsmall&avatarId=10311",
        "32x32": "http://localhost:2990/jira/secure/useravatar?size=medium&avatarId=10311"
      },
      "selected": false
    },
    {
      "id": "10312",
      "isSystemAvatar": true,
      "isSelected": false,
      "isDeletable": false,
      "urls": {
        "48x48": "http://localhost:2990/jira/secure/useravatar?avatarId=10312",
        "24x24": "http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10312",
        "16x16": "http://localhost:2990/jira/secure/useravatar?size=xsmall&avatarId=10312",
        "32x32": "http://localhost:2990/jira/secure/useravatar?size=medium&avatarId=10312"
      },
      "selected": false
    },
    {
      "id": "10313",
      "isSystemAvatar": true,
      "isSelected": false,
      "isDeletable": false,
      "urls": {
        "48x48": "http://localhost:2990/jira/secure/useravatar?avatarId=10313",
        "24x24": "http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10313",
        "16x16": "http://localhost:2990/jira/secure/useravatar?size=xsmall&avatarId=10313",
        "32x32": "http://localhost:2990/jira/secure/useravatar?size=medium&avatarId=10313"
      },
      "selected": false
    },
    {
      "id": "10314",
      "isSystemAvatar": true,
      "isSelected": false,
      "isDeletable": false,
      "urls": {
        "48x48": "http://localhost:2990/jira/secure/useravatar?avatarId=10314",
        "24x24": "http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10314",
        "16x16": "http://localhost:2990/jira/secure/useravatar?size=xsmall&avatarId=10314",
        "32x32": "http://localhost:2990/jira/secure/useravatar?size=medium&avatarId=10314"
      },
      "selected": false
    },
    {
      "id": "10315",
      "isSystemAvatar": true,
      "isSelected": false,
      "isDeletable": false,
      "urls": {
        "48x48": "http://localhost:2990/jira/secure/useravatar?avatarId=10315",
        "24x24": "http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10315",
        "16x16": "http://localhost:2990/jira/secure/useravatar?size=xsmall&avatarId=10315",
        "32x32": "http://localhost:2990/jira/secure/useravatar?size=medium&avatarId=10315"
      },
      "selected": false
    },
    {
      "id": "10316",
      "isSystemAvatar": true,
      "isSelected": false,
      "isDeletable": false,
      "urls": {
        "48x48": "http://localhost:2990/jira/secure/useravatar?avatarId=10316",
        "24x24": "http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10316",
        "16x16": "http://localhost:2990/jira/secure/useravatar?size=xsmall&avatarId=10316",
        "32x32": "http://localhost:2990/jira/secure/useravatar?size=medium&avatarId=10316"
      },
      "selected": false
    },
    {
      "id": "10318",
      "isSystemAvatar": true,
      "isSelected": false,
      "isDeletable": false,
      "urls": {
        "48x48": "http://localhost:2990/jira/secure/useravatar?avatarId=10318",
        "24x24": "http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10318",
        "16x16": "http://localhost:2990/jira/secure/useravatar?size=xsmall&avatarId=10318",
        "32x32": "http://localhost:2990/jira/secure/useravatar?size=medium&avatarId=10318"
      },
      "selected": false
    },
    {
      "id": "10320",
      "isSystemAvatar": true,
      "isSelected": false,
      "isDeletable": false,
      "urls": {
        "48x48": "http://localhost:2990/jira/secure/useravatar?avatarId=10320",
        "24x24": "http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10320",
        "16x16": "http://localhost:2990/jira/secure/useravatar?size=xsmall&avatarId=10320",
        "32x32": "http://localhost:2990/jira/secure/useravatar?size=medium&avatarId=10320"
      },
      "selected": false
    },
    {
      "id": "10321",
      "isSystemAvatar": true,
      "isSelected": false,
      "isDeletable": false,
      "urls": {
        "48x48": "http://localhost:2990/jira/secure/useravatar?avatarId=10321",
        "24x24": "http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10321",
        "16x16": "http://localhost:2990/jira/secure/useravatar?size=xsmall&avatarId=10321",
        "32x32": "http://localhost:2990/jira/secure/useravatar?size=medium&avatarId=10321"
      },
      "selected": false
    },
    {
      "id": "10322",
      "isSystemAvatar": true,
      "isSelected": false,
      "isDeletable": false,
      "urls": {
        "48x48": "http://localhost:2990/jira/secure/useravatar?avatarId=10322",
        "24x24": "http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10322",
        "16x16": "http://localhost:2990/jira/secure/useravatar?size=xsmall&avatarId=10322",
        "32x32": "http://localhost:2990/jira/secure/useravatar?size=medium&avatarId=10322"
      },
      "selected": false
    },
    {
      "id": "10323",
      "isSystemAvatar": true,
      "isSelected": false,
      "isDeletable": false,
      "urls": {
        "48x48": "http://localhost:2990/jira/secure/useravatar?avatarId=10323",
        "24x24": "http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10323",
        "16x16": "http://localhost:2990/jira/secure/useravatar?size=xsmall&avatarId=10323",
        "32x32": "http://localhost:2990/jira/secure/useravatar?size=medium&avatarId=10323"
      },
      "selected": false
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment