Skip to content

Commit 0a27111

Browse files
committed
update jira status script
1 parent c094637 commit 0a27111

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

update_jira/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,12 @@ async function handlePullRequestEvent(eventData, jiraUtil) {
176176
switch (action) {
177177
case 'opened':
178178
case 'reopened':
179-
case 'converted_to_draft':
180-
targetStatus = 'In Development'
181-
break
182179
case 'ready_for_review':
183180
targetStatus = 'Code Review'
184181
break
182+
case 'converted_to_draft':
183+
targetStatus = 'In Development'
184+
break
185185
case 'closed':
186186
if (pull_request.merged) {
187187
targetStatus = statusMap[targetBranch] || 'Done'

0 commit comments

Comments
 (0)