Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 272756

Summary: Cascading custom field: the second value will be overwritten by mylyn
Product: z_Archived Reporter: Thomas Ehrnhoefer <thomas.ehrnhoefer>
Component: MylynAssignee: Mylyn Inbox <mylyn-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P2 CC: steffen.pingel
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
URL: https://studio.atlassian.com/browse/PLE-902
Whiteboard:
Bug Depends on:    
Bug Blocks: 249057    

Description Thomas Ehrnhoefer CLA 2009-04-17 16:11:33 EDT
An issue with a cascading custom field (and values set for it) will have the second field overwritten on submitting an issue. Mylyn does not display those fields in the editor.
The sent HTML treats those fields individually, so we should be able to submit the second field.
Comment 1 Steffen Pingel CLA 2009-04-17 16:46:07 EDT
XML output:

<customfield id="customfield_10040" key="com.atlassian.jira.plugin.system.customfieldtypes:cascadingselect">
	<customfieldname>cascadingSelect</customfieldname>
	<customfieldvalues>
		<customfieldvalue key="">10000</customfieldvalue>
		<customfieldvalue key="1">10002</customfieldvalue>
	</customfieldvalues>
</customfield>

HTML form:

<select name="customfield_10040" id="customfield_10040"><option value="10000">Opt1</option></select>
<select name="customfield_10040:1" id="customfield_10040:1">
        <option class="-1" value="-1">None</option>
        <option class="10000" value="-1">None</option>
        <option class="10000" value="10002" >Opt1.1</option>
</select>
Comment 2 Steffen Pingel CLA 2010-02-27 20:17:52 EST
The Mylyn JIRA Connector has moved to Atlassian. All unresolved Mylyn bugs assigned to the JIRA component, which includes this bug, have been copied to https://studio.atlassian.com/browse/PLE and marked as resolved on bugs.eclipse.org. The new location of this bug report can be found in the URL field. 

Please see this FAQ entry for further details: http://wiki.eclipse.org/Mylyn/FAQ#What_happened_to_the_Mylyn_JIRA_Connector.3F .