0.0
No release in over a year
recon_tools: Tools to support importing, exporting and reconciliation of data from JIRA, GoogleSheets and more..
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 6.1.4
~> 13.0
~> 3.6
~> 1.0
~> 0.16
~> 6.0
 Project Readme

recon_tools

Accessing Google sheets

In order to access Google Sheets you need to provide credentials to the script.

Create credentials.json file and put in config directory

Follow instructions below and put the credentials.json file in the config directory.
Video Example: https://www.youtube.com/watch?v=VqoSUSy011I
Related Blog Post: https://www.twilio.com/blog/2017/03/google-spreadsheets-ruby.html (Slightly old UI so see instrucitons below)
Official Instructions: https://developers.google.com/workspace/guides/create-credentials
  • To obtain credentials for your service account:

  • Click on your newly-create service account.

  • Click Keys.

  • Click Add key > Create new key. The "Create private key" dialog appears.

  • Select JSON.

  • Click Create. …​

  • Click Close.

Download the file and rename it to credentials.json and put at the same level as the recon_tools directory.

Full Click by click details for creating credentials.json files

Give Access To The Specific Sheet

Share the GoogleSheet you want to access with the email listed in the **<client_email>** section of the email

Accessing JIRA sheets

  • Log in to https://id.atlassian.com/manage/api-tokens.

  • Click 'Create API token.'

  • From the dialog that appears, enter a memorable and concise 'Label' for your token and click 'Create.'

  • Use 'Copy to clipboard' and paste the token into the JIRA API token field on the JIRA account user page.

Set Environment Variables in shell

export RECON_TOOLS_JIRA_TOKEN=<TOKEN>
echo "$RECON_TOOLS_JIRA_TOKEN"
export RECON_TOOLS_JIRA_EMAIL=<EMAIL>
echo "$RECON_TOOLS_JIRA_EMAIL"