Uploaded image for project: 'Atlassian Ecosystem'
  1. Atlassian Ecosystem
  2. ECO-65

Can not change the pageTitle from client side js

    XMLWordPrintable

Details

    • Severity 3 - Minor

    Description

      Issue Summary

      For the Connect SPA application, it is not possible to change the page title dynamically.

      Attempting to use the pushState method and title parameter has failed.

      pushState (newState, title, url)

      For reference:
      Documentation: History
      Same problem: Dynamically change document.title for generalPages

      Steps to Reproduce

      1. Create the Connect app for Jira
      2. Try to use pushState method from History API for changing the page title

      Expected Results

      The page title should be changed to the new one using the pushState method or some other way of changing the title in the js code.

      Actual Results

      The title of the page is the same as was declared in atlassian-connect.json

      Workaround

      It might be possible to use window.document.title depending on the situation of the iframe.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              61fc5024cfea Mirek Sztuba
              Votes:
              12 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: