File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ const github = require('@actions/github')
33const { Octokit } = require ( '@octokit/rest' )
44const Jira = require ( './../utils/jira' )
55
6+ const stagingReleaseEnvId = 11942
7+ const prodReleaseEnvId = 11943
8+
69const statusMap = {
710 'master' : {
811 status : 'Done' ,
@@ -12,7 +15,7 @@ const statusMap = {
1215 customFields : {
1316 // prod release timestamp
1417 customfield_11475 : new Date ( ) ,
15- customfield_11473 : { name : 'Production' }
18+ customfield_11473 : { id : prodReleaseEnvId }
1619 }
1720 } ,
1821 'main' : {
@@ -23,7 +26,7 @@ const statusMap = {
2326 customFields : {
2427 // prod release timestamp
2528 customfield_11475 : new Date ( ) ,
26- customfield_11473 : { name : 'Production' }
29+ customfield_11473 : { id : prodReleaseEnvId }
2730 }
2831 } ,
2932 'staging' : {
@@ -34,7 +37,7 @@ const statusMap = {
3437 customFields : {
3538 // staging release timestamp
3639 customfield_11474 : new Date ( ) ,
37- customfield_11473 : { name : 'Staging' }
40+ customfield_11473 : { id : stagingReleaseEnvId }
3841 }
3942 } ,
4043 'dev' : {
You can’t perform that action at this time.
0 commit comments