This repository houses scripts and docker image to track data requests submitted to 1kD and Elite_LLFS project, their status and their associated Jira tickets.
This diagram shows how data requests are tracked and reported in Synapse and Jira Software Dashboard/Jira Service Desk.
The data_request_tracking.py is used to pull data request history using Synapse Rest API and generate Data Request Tracking Table(1kD Only), Data Request changeLogs Table, and Data Folder Structure.txt. The Data Request Tracking Table is a summary table of the most recent status of a data request, its basic information and total duration. The Data Request changeLogs Table illustrates the detailed change log of each data request, including states, status and basic information for each submission, and its processing time. The data_folder_structure.txt is a file holding the foler tree of the project and the corresponding access requirement setting.
The jira_issue_tracking.py (1kD) and jira_service_desk.py (Elite) are used to create Jira ticket/request in Jira Software Dashboard/Jira Service Desk and to update Jira changeLogs Table in Synapse. The Jira changeLogs Table indicates how the Jira ticket/request is processed and the processing time for each status.
The pipeline is run under ACT team member's account on AWS Batch(Scheduled Jobs) since only ACT has permission to pull data request from Synapse backend.
A. The following credentials need to be created and provided in Batch Secrets. The format for Batch Secrets is
"SYNAPSE_AUTH_TOKEN":"Your PAT","JIRA_EMAIL":"Your email in Jira","JIRA_API_TOKEN":"Your Jira API token"
sh update_tables.shDocker
There is a Docker image that is automatically build: sagebionetworks/1kd-data-request-tracking. See the available tags here. It is always recommended to use the latest tag since it will be updated whenever changes are made to this GitHub repository.
Content type
Image
Digest
sha256:cb4a120f7…
Size
148.9 MB
Last updated
about 2 years ago
docker pull sagebionetworks/1kd-data-request-tracking