The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

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 Champions.
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
TAGS
AUG Leaders

Atlassian Community Events