Browse this sectionProcess and Guide / Code Setup

Step 1: Clone the Repository

Clone the Jira Assistant repository from GitHub:

git clone https://github.com/shridhar-tl/jira-assistant.git

Navigate into the project directory:

cd jira-assistant

Switch to develop branch:

git checkout develop

Step 2: Install Dependencies

Install the project dependencies using npm:

npm install

Step 3: Install the Extension

Install the Jira Assistant extension from the Chrome Web Store or other supported browsers. Search for "Jira Assistant" in the respective extension store and add it to your browser.

By default, the extension does not let the local development site use it. To allow it, open Jira Assistant from the extension icon, go to Settings > Advanced, turn on Allow https://local.jiraassistant.com to use this extension under Local development site and click Save settings.

Turn this setting on only in your own browser while developing Jira Assistant, and turn it off when you no longer need it.

Step 4: Configure Host Entry

Setting up a custom host entry is crucial for local development. It simulates a domain name, enabling OAuth and other functionalities to work seamlessly.

For Windows:

Open Notepad or any text editor with administrator privileges.

Open the hosts file located at C:\Windows\System32\drivers\etc\hosts.

Add the following line:

127.0.0.1 local.jiraassistant.com

For macOS / Linux:

Edit /etc/hosts with root privileges (for example sudo nano /etc/hosts) and add the same line.

Step 5: HTTPS Certificate

The development server runs only over HTTPS on port 443. On the first run, a locally trusted certificate for local.jiraassistant.com is generated and installed automatically. Accept the prompt to trust the local certificate authority if your system asks for it.

Do not set the PORT environment variable for web development. It switches the server to plain HTTP on localhost, which the Jira Assistant extension does not accept.

On macOS / Linux, binding to port 443 may need elevated privileges.

Running the Project

Run the web version of the project:

npm start

Access the development environment at https://local.jiraassistant.com.

With the Jira Assistant extension installed, you can now explore and test the features of the project seamlessly.