I want to set the fixversion on ticket creation and it keeps erroring my cod eis below

Butch_Richards
Contributor
June 4, 2024
{"fields" : {								
	"project":		      {	"key":	"[entry.ProjectID]"	},	
	"issuetype":		  {	"name":	"Task"	},	
"assignee": {
			"value": "[entry.BSA.Label]"
		}, 
"fixVersion":{
			"name": "Release 1"
		}, 

    "customfield_10006":	"[entry.ParentLink]",
	"customfield_19600":	"8633",
	"summary":			    "[entry.Prefix] - Malcode Setup",	
	"description":			"Submit request for Malcode setup"
   
   }  
}								

1 answer

0 votes
Kalyan Sattaluri
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 4, 2024

Hello @Butch_Richards 

Below is the syntax for Fix Version:

"fixVersions" : [ { "name": "2.0"} , { "name": "Network Switch" } ]

So yours will be like below:

{
"fields": {
"project": {
"key": "[entry.ProjectID]"
},
"issuetype": {
"name": "Task"
},
"assignee": {
"value": "[entry.BSA.Label]"
},
"fixVersions" : [ { "name": "Release 1"} ],
"customfield_10006": "[entry.ParentLink]",
"customfield_19600": "8633",
"summary": "[entry.Prefix] - Malcode Setup",
"description": "Submit request for Malcode setup"
}
}

Butch_Richards
Contributor
June 5, 2024

StIll getting the below error and It is a valid fix version @Kalyan Sattaluri 

  • Unexpected error while saving the record. Please contact your Confluence support team for assistance. Details are available in the server logs

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events