Capture browser trace for troubleshooting

This page is about Assets & Inventory Plugin for Jira DC. Using Cloud? Click here.

This guide details how to capture browser traces for troubleshooting JavaScript-related issues in Jira. Traces are helpful for Appfire Support to diagnose issues.

Important Considerations

Browser traces are utilized by Appfire Support only for troubleshooting purposes. Be cautious about sharing these traces, as they may include sensitive information about your environment.

Google Chrome and Microsoft Edge (Chromium)

Both Google Chrome and Microsoft Edge (Chromium) are based on the Chromium open source project. The following steps show how to use the developer tools, which are very similar in these browsers. 

  1. Log in to Jira.

Log in before you start the trace so that the trace doesn't capture sensitive information related to your sign-in.

  1. Navigate to the step just prior to where the issue occurs.

  2. Press F12 or select  > More tools > Developer tools.

  3. By default, the browser keeps trace information only for the page that's currently loaded. Set the following options so the browser keeps all trace information, even if your repro requires going to more than one page:

    1. Select the Network tab, then select Preserve log.

    2. Select the Console tab, select Console settings, then select Preserve Log. Select Console settings again to close the settings pane.

  4. Select the Network tab, then select Stop recording network log and Clear.

  5. Select Record network log, then reproduce the issue in the portal.

    You will see a session output similar to the following image:

  6. After you have reproduced the unexpected portal behavior, select Stop recording network log, then select Export HAR and save the file.

  7. Back in the browser developer tools pane, select the Console tab. Right-click one of the messages, then select Save as..., and save the console output to a text file.

  8. Package the HAR file, and console output in a compressed format like .zip, and share that with Appfire Support.


Microsoft Edge (EdgeHTML)

The following steps show how to use the developer tools in Microsoft Edge (EdgeHTML). For more information, see Microsoft Edge (EdgeHTML) Developer Tools.

  1. Log in to Jira.

  1. In the portal, navigate to the step just prior to where the issue occurs.

  2. Press F12 or select  > More tools > Developer tools.

  3. By default, the browser keeps trace information only for the page that's currently loaded. Set the following options so the browser keeps all trace information, even if your repro requires going to more than one page:

    1. Select the Network tab, then clear the option Clear entries on navigate.

    2. Select the Console tab, then select Preserve Log.

  4. Select the Network tab, then select Stop profiling session and Clear session.

  5. Select Start profiling session, then reproduce the issue in the portal.

    You will see a session output similar to the following image.

  6. After you have reproduced the unexpected portal behavior, select Stop profiling session, then select Export as HAR and save the file.

  7. Back in the browser developer tools pane, select the Console tab, and expand the window. Place your cursor at the start of the console output then drag and select the entire contents of the output. Right-click, then select Copy, and save the console output to a text file.

  8. Package the HAR file, and console output in a compressed format like .zip, and share that with Appfire Support.


Apple Safari

The following steps show how to use the developer tools in Apple Safari. For more information, see Safari Developer Tools overview.

  1. Enable the developer tools in Apple Safari:

    1. Select Safari, then select Preferences.

    2. Select the Advanced tab, then select Show Develop menu in menu bar.

  2. Log in to Jira.

  1. In the portal, navigate to the step just prior to where the issue occurs.

  2. Select Develop, then select Show Web Inspector.

  3. By default, the browser keeps trace information only for the page that's currently loaded. Set the following options so the browser keeps all trace information, even if your repro requires going to more than one page:

    1. Select the Network tab, then select Preserve Log.

    2. Select the Console tab, then select Preserve Log.

  4. Select the Network tab, then select Clear Network Items.

  5. Reproduce the issue in the portal. You will see a session output similar to the following image.

  6. After you have reproduced the unexpected portal behavior, select Export and save the file.

  7. Back in the browser developer tools pane, select the Console tab, and expand the window. Place your cursor at the start of the console output then drag and select the entire contents of the output. Use Command-C to copy the output and save it to a text file.

  8. Package the HAR file, and console output in a compressed format like .zip, and share that with Appfire Support.


Firefox

The following steps show how to use the developer tools in Firefox. For more information, see Firefox Developer Tools.

  1. Log in to Jira.

  1. In the portal, navigate to the step just prior to where the issue occurs.

  2. Press F12 or select  > Web Developer > Toggle Tools.

  3. By default, the browser keeps trace information only for the page that's currently loaded. Set the following options so the browser keeps all trace information, even if your repro requires going to more than one page:

    1. Select the Network tab, then select Persist Logs.

    2. Select the Console tab, select Console settings, then select Persist Logs.

  4. Select the Network tab, then select Clear.

  5. Reproduce the issue in the portal. You will see session output similar to the following image.

  6. After you have reproduced the unexpected portal behavior, select Save All As HAR.

  7. Stop Steps Recorder on Windows or the screen recording on Mac, and save the recording.

  8. Back in the browser developer tools pane, select the Console tab. Right-click one of the messages, then select Export Visible Messages To, and save the console output to a text file.

  9. Package the HAR file, and console output in a compressed format like .zip, and share that with Appfire Support.