Skip to content

Commit

Permalink
Renamed jira created field to createdAt (#4501)
Browse files Browse the repository at this point in the history
createdAt is what we've been using in other providers. We should align
this where we can

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored Aug 7, 2024
1 parent f1b1e47 commit 606953f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion providers/atlassian/resources/atlassian.lr
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ atlassian.jira.issue @defaults("id") {
// Description
description string
// Issue create time in UTC
created time
createdAt time
}

// Jira server info
Expand Down
2 changes: 1 addition & 1 deletion providers/atlassian/resources/atlassian_jira.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func (a *mqlAtlassianJira) issues() ([]interface{}, error) {
"project": llx.StringData(issue.Fields.Project.Name),
"status": llx.StringData(issue.Fields.Status.Name),
"description": llx.StringData(issue.Fields.Description),
"created": llx.TimeData(created.UTC()),
"createdAt": llx.TimeData(created.UTC()),
})
if err != nil {
return nil, err
Expand Down

0 comments on commit 606953f

Please sign in to comment.