Skip to content

Commit

Permalink
Add Jira issue labels
Browse files Browse the repository at this point in the history
  • Loading branch information
jaceksan committed Feb 19, 2024
1 parent 4379a3c commit d8b99ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ with using_clause as (
key as jira_issue_number,
self as jira_issue_url,
fields__summary as summary,
fields__labels as labels,
-- TODO: substr may not be supported by all DBs. I did not find an official macro for this.
-- Worst case scenario is that I will have to write a custom macro for this.
cast(substr(fields__created, 1, 10) as date) as created_at,
Expand Down
1 change: 1 addition & 0 deletions data_pipeline/models/jira/issues/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ models:
label_type: HYPERLINK
attribute_column: jira_issue_id
- name: summary
- name: labels
- name: created_at
- name: due_date_at
- name: updated_at
Expand Down

0 comments on commit d8b99ce

Please sign in to comment.