Forums

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

Can you set a fix version and component in an issue collector?

Steven Pask
Contributor
October 3, 2017

Hi, I'm currently looking to edit an issue collector script so it includes a preset fix version and component. 

However when I create a new issue using the collector the fields stay blank.

fieldValues : {
				  summary : 'Overtype this with a short title'
				, description : 'Overtype this with an expanded description...'

				// hidden field value
				, customfield_10200: [ "DS-685" ]
				, priority : '2'
				, labels : 'Caspian_UAT'
				//
				// TRYING TO GET THESE TWO VALUES BELOW - TO AUTOMATICALLY ASSIGN BUT HAVING NO LUCK
				, components : [ 'DL: UAT' ]
				, fixversions: [ 'Data Lake MVP' ]
		    }


});</script>

You'll see above part of the script and the two fields I'm trying to add. Do I need to use a field ID? I couldn't seem to find one for either field.

I'm also not a developer so go easy ;) Thanks team!

1 answer

1 vote
Justin Warwick
Contributor
October 19, 2018 edited

I found and tested successfully an answer for Component, possibly the same principal applies to fixversion. See this answer, and make sure to note the follow up detail from @Thierry Michel:

Pre-set Component for Issue Collectors?

Also, this other question talks a little about multi-value for Components:

Set fieldValues in JIRA Issue Collectors

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events