How to set up

In order to configure the plugin, you will need to link a project. To do this, go to firebase and create a firebase service account key. We'll refer to the json in that file as your service account key. To get this key:

To generate a private key file for your service account:

  1. In the Firebase console, open Settings > Service Accounts.

  2. Click Generate New Private Key, then confirm by clicking Generate Key.

  3. Securely store the JSON file containing the key.

Link account to Jira project

Open up your Jira project and click project settings on the left hand side bar. At the bottom look for firebase feature flags and click this.

In this tab you can manage firebase projects linked to your Jira project. To link a new firebase project enter a project title to identify the project and then paste the service account key into the firebase configuration field

Click submit and if successful you'll see your project in the list of projects. E.g

Link a feature flag to a ticket

In order to link a feature flag to a ticket, click the ticket you want to link and find the field on your right hand bar called “link firebase feature”. Select your firebase project, and click select. This should provide a drop down with a list of all feature flags for your project - select the flag you want to update and then click select.

View and toggle feature flags

In your ticket, click the firebase feature flags bar at the top of the screen and you will see a list of firebase features that are linked to that ticket. If you link a new ticket, be sure to click refresh in order to see the new flag