amc-corey-cox / BDC_Dashboard

My personal repository for work on the BioData Catalyst Dashboard
Apache License 2.0
4 stars 2 forks source link

Create cached Jira database for improved performance #50

Open amc-corey-cox opened 8 months ago

amc-corey-cox commented 8 months ago

Currently, we are querying Jira every time a user interacts with the web-app. We can likely improve performance by checking for the most recent changes and keeping a local cache in the database of the BDJW project tickets, only updating when there are changes to tickets.

Here is a useful Jira API endpoint: https://nhlbijira.nhlbi.nih.gov/rest/api/2/search?jql=project=BDJW&orderBy=updated&startAt=1&maxResults=1&fields=updated