Skip to content

Commit 5b4a588

Browse files
SNOW-197364 fixed assignee for Jiras generated (#431)
1 parent c20f24c commit 5b4a588

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

.github/actions/gajira-create/action.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module.exports = class {
6161
providedFields.push({
6262
key: 'assignee',
6363
value: {
64-
name: argv.assignee
64+
id: argv.assignee
6565
}
6666
})
6767
}
@@ -92,7 +92,7 @@ module.exports = class {
9292

9393
const issue = await this.Jira.createIssue(payload)
9494

95-
return { issue: issue.key , body: payload}
95+
return { issue: issue.key }
9696
}
9797

9898
preprocessArgs () {

.github/actions/gajira-create/dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/gajira-create/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ async function exec () {
3535
// result.issue is the issue key
3636
console.log(`Created issue: ${result.issue}`)
3737

38-
console.log(`With body:`)
39-
console.log(JSON.stringify(result.body, null, 4))
4038
// Expose created issue's key as an output
4139
core.setOutput("issue", result.issue)
4240

.github/workflows/jira_issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
PROJECT: SNOW
2222
TYPE: Bug
2323
AREA: "Data Platform: Ecosystem"
24-
ASSIGNEE: triage-data_platform_drivers_cli-dl
24+
ASSIGNEE: "5d56d115ba0a060da220202b"
2525
SUMMARY: "{{ event.issue.title }}"
2626
DESCRIPTION: "{{ event.issue.body }}\n\n_Created from GitHub Action_ for {{ event.issue.html_url }}"
2727
- name: update issue

0 commit comments

Comments
 (0)