Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-6753

Meta tag "activeTab" not working anymore for user profiles in Stash 3.5.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 3.6.0
    • 3.5.0
    • User Profiles
    • None

    Description

      In one of my plugins, I'm adding a user profile tab as explained in the following tutorial: https://developer.atlassian.com/stash/docs/latest/tutorials-and-examples/decorating-the-user-profile.html

      Since Stash 2.4.0 the "activeTab" meta tag (used to define the active navigation tab in the user profile) was working as expected, but in Stash 3.5.0 the tab is not highlighted anymore.

      I'm aware of the template "stash.layout.users.profile" and would use it in my plugin, but unfortunately it requires the current user's personal project as $project parameter, which you can only retrieve by using the InternalProjectService => which is internal and not accessible by plugins.

      Any help would be appreciated.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              326aaff085b8 Remo Siegwart
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: