Pull request Compare This branch is 6 commits ahead, 146 commits behind Node-8.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
functions
README.md
firebase.json

README.md

Jira Issue Creator

Identify important conversion workflows in your app, so that when a new issue is reported in that workflow via Crashlytics, an issue will be created in your Jira project. This will allow you to react quicker to crashes that impact important conversion workflows of your app.

Crashlytics is a crash reporter for Firebase.

Note: This assumes that you have Crashlytics in Firebase. Learn more about Crashlytics

Setting up the sample

Create and setup the Firebase project:

  1. Create a Firebase project using the Firebase Developer Console.
  2. Enable Billing on your Firebase the project by switching to the Blaze plan, this is currently needed to be able to perform HTTP requests to external services from a Cloud Function. 1.Include Crashlytics in your project.

Configuring the sample

  1. Clone or download this repo and open the crashlytics-integration/jira-issue directory.
  2. You must have the Firebase CLI installed. If you don't have it, install it with npm install -g firebase-tools and then configure it with firebase login.
  3. Configure the CLI locally by using firebase use --add and select your project in the list.
  4. Install npm dependencies in the functions directory locally, by running: cd functions; npm install;

Integrating with Jira

  1. Configure the required environment variables for Jira: firebase functions:config:set jira.project_url="https://yourdomain.atlassian.net/projects/XX" jira.user="username" jira.pass="password"
  2. You may also specify two optional environment variables as well firebase functions:config:set jira.issue_type="bug" jira.component_id="10000"

Deploy and test

  1. Deploy your project using firebase deploy
  2. Simulate a test crash. Instructions

Contributing

We'd love that you contribute to the project. Before doing so please read our Contributor guide.

License

© Google, 2017. Licensed under an Apache-2 license.