@@ -131,7 +131,7 @@ func TestGetPRS(t *testing.T) {
131131}
132132
133133func TestIssueTargetReleaseCheck (t * testing.T ) {
134- issueJSON := "{\n \" id\" :\" 0000\" ,\n \" key\" :\" OCPBUGS-0000\" ,\n \" fields\" :{\n \" customfield_12319940 \" : [\n {\n \" name\" : \" 4.11.Z\" \n }\n ]\n }\n }"
134+ issueJSON := "{\n \" id\" :\" 0000\" ,\n \" key\" :\" OCPBUGS-0000\" ,\n \" fields\" :{\n \" customfield_10855 \" : [\n {\n \" name\" : \" 4.11.Z\" \n }\n ]\n }\n }"
135135
136136 var issue jira.Issue
137137 err := json .Unmarshal ([]byte (issueJSON ), & issue )
@@ -950,13 +950,13 @@ const (
950950 "description": "Status ON_QA",
951951 "name": "ON_QA"
952952 },
953- "customfield_12315948 ": {
953+ "customfield_10470 ": {
954954 "name": "qa_contact@redhat.com",
955955 "key": "qa_contact",
956956 "emailAddress": "qa_contact@redhat.com",
957957 "displayName": "Jack Smith"
958958 },
959- "customfield_12319940 ": [
959+ "customfield_10855 ": [
960960 {
961961 "self": "https://issues.redhat.com/rest/api/2/version/12390168",
962962 "id": "12390168",
@@ -979,13 +979,13 @@ const (
979979 "description": "Issue is verified",
980980 "name": "Verified"
981981 },
982- "customfield_12315948 ": {
982+ "customfield_10470 ": {
983983 "name": "qa_contact@redhat.com",
984984 "key": "qa_contact",
985985 "emailAddress": "qa_contact@redhat.com",
986986 "displayName": "Jack Smith"
987987 },
988- "customfield_12319940 ": [
988+ "customfield_10855 ": [
989989 {
990990 "self": "https://issues.redhat.com/rest/api/2/version/12390168",
991991 "id": "12390168",
@@ -1008,13 +1008,13 @@ const (
10081008 "description": "Issue is verified",
10091009 "name": "Verified"
10101010 },
1011- "customfield_12315948 ": {
1011+ "customfield_10470 ": {
10121012 "name": "qa_contact@redhat.com",
10131013 "key": "qa_contact",
10141014 "emailAddress": "qa_contact@redhat.com",
10151015 "displayName": "Jack Smith"
10161016 },
1017- "customfield_12319940 ": [
1017+ "customfield_10855 ": [
10181018 {
10191019 "self": "https://issues.redhat.com/rest/api/2/version/12390168",
10201020 "id": "12390168",
@@ -1066,13 +1066,13 @@ const (
10661066 "description": "Issue is in progress",
10671067 "name": "In Progress"
10681068 },
1069- "customfield_12315948 ": {
1069+ "customfield_10470 ": {
10701070 "name": "qa_contact@redhat.com",
10711071 "key": "qa_contact",
10721072 "emailAddress": "qa_contact@redhat.com",
10731073 "displayName": "Jack Smith"
10741074 },
1075- "customfield_12319940 ": [
1075+ "customfield_10855 ": [
10761076 {
10771077 "self": "https://issues.redhat.com/rest/api/2/version/12390168",
10781078 "id": "12390168",
@@ -1095,13 +1095,13 @@ const (
10951095 "description": "Status MODIFIED",
10961096 "name": "MODIFIED"
10971097 },
1098- "customfield_12315948 ": {
1098+ "customfield_10470 ": {
10991099 "name": "qa_contact@redhat.com",
11001100 "key": "qa_contact",
11011101 "emailAddress": "qa_contact@redhat.com",
11021102 "displayName": "Jack Smith"
11031103 },
1104- "customfield_12319940 ": [
1104+ "customfield_10855 ": [
11051105 {
11061106 "self": "https://issues.redhat.com/rest/api/2/version/12390168",
11071107 "id": "12390168",
0 commit comments