Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-68307

Context Parameter to get Sidebar color in ADG3

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Obsolete
    • None
    • 0
    • 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.

    Description

      Summary

      In ADG3, app icons' color is being displayed differently depending on the sidebar color.

      The idea is to know the color based on the settings so that the app can adjust the icon, if need be.

      It would be good if I could to configure icon URL in atlassian connect descriptor to get there an additional context (https://developer.atlassian.com/cloud/jira/software/context-parameters/#a-name-additional-parameters-a-additional-parameters)

      As example:

      icon: {
        width: 16,
        height: 16,
        url: "/menu-icon.svg?textcolor={jira.lf.top.adg3.textcolour}"
      }
      

      Notes

      To use application properties I need to request customer's Jira instance and store colors for each instance to avoid requesting it every time. It's possible but inconvenient.

      It would be good if I could get required colors right in icon request, to avoid additional requesting for /rest/api/2/application-properties

      Workaround

      Use the REST endpoint /rest/api/2/application-properties and look for the entry where key is jira.lf.top.adg3.bgcolour

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              eb22be7033f4 Sergei Shmakov
              Votes:
              12 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: