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:
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.
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.
Navigate to the step just prior to where the issue occurs.
Press F12 or select > More tools > Developer tools.
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:
Select the Network tab, then select Preserve log.
Select the Console tab, select Console settings, then select Preserve Log. Select Console settings again to close the settings pane.
Select the Network tab, then select Stop recording network log and Clear.
Select Record network log, then reproduce the issue in the portal.
You will see a session output similar to the following image:
After you have reproduced the unexpected portal behavior, select Stop recording network log, then select Export HAR and save the file.
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.
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.
Log in to Jira.
In the portal, navigate to the step just prior to where the issue occurs.
Press F12 or select > More tools > Developer tools.
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:
Select the Network tab, then clear the option Clear entries on navigate.
Select the Console tab, then select Preserve Log.
Select the Network tab, then select Stop profiling session and Clear session.
Select Start profiling session, then reproduce the issue in the portal.
You will see a session output similar to the following image.
After you have reproduced the unexpected portal behavior, select Stop profiling session, then select Export as HAR and save the file.
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.
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.
Enable the developer tools in Apple Safari:
Select Safari, then select Preferences.
Select the Advanced tab, then select Show Develop menu in menu bar.
Log in to Jira.
In the portal, navigate to the step just prior to where the issue occurs.
Select Develop, then select Show Web Inspector.
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:
Select the Network tab, then select Preserve Log.
Select the Console tab, then select Preserve Log.
Select the Network tab, then select Clear Network Items.
Reproduce the issue in the portal. You will see a session output similar to the following image.
After you have reproduced the unexpected portal behavior, select Export and save the file.
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.
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.
Log in to Jira.
In the portal, navigate to the step just prior to where the issue occurs.
Press F12 or select > Web Developer > Toggle Tools.
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:
Select the Network tab, then select Persist Logs.
Select the Console tab, select Console settings, then select Persist Logs.
Select the Network tab, then select Clear.
Reproduce the issue in the portal. You will see session output similar to the following image.
After you have reproduced the unexpected portal behavior, select Save All As HAR.
Stop Steps Recorder on Windows or the screen recording on Mac, and save the recording.
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.
Package the HAR file, and console output in a compressed format like .zip, and share that with Appfire Support.