History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2771
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Steve Luo
Reporter: David Horowitz
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
QuickBuild

http://track.pmease.com/browse/QB-2685 solution still throws error

Created: 03/Aug/16 11:38 PM   Updated: 01/Dec/16 07:24 AM
Component/s: None
Affects Version/s: 6.1.9
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. QBJIRA.png
(181 kb)
Environment: Jira


 Description  « Hide
I am having the same issue as the poster of the original thread, however we are using Jira 7.1 and cannot use SOAP. I have attached a screenshot of the relevant information, however, in short I am trying to fill custom field 11931 by entering

custom_field11931:11255

into Extra Attributes as described in the comments on the linked thread. This is the code that is working on JIRA issues that were created prior to our migration to 6.1.9 (and also prior to our upgrade to JIRA 7.1). THe screenshot shows the REST API calls that should confirm that that is the correct ID, however the step continues to fail with the following error message:

19:29:46,129 ERROR - Unknown custom field type OPTION
19:29:46,292 INFO - Executing post-execute action...
19:29:46,292 ERROR - Step 'master>Scheduled Job Failure - JIRA ticket' is failed.
    com.pmease.quickbuild.plugin.tracker.core.TrackerException: RestClientException{statusCode=Optional.of(400), errorCollections=[ErrorCollection{status=400, errors={customfield_11931=Could not find valid 'id' or 'value' in the Parent Option object.}, errorMessages=[]}]}
        at

What am I doing wrong? Does this really require an upgrade to 6.1.12 or is this workaround supposed to work if below 6.1.12?

 All   Comments   Work Log   Change History      Sort Order:
Steve Luo [05/Aug/16 11:26 AM]
What is the data type of your custom field?
The workaround is supposed to work for 6.1.12+ with JIRA 7+ and selection/option type.

David Horowitz [05/Aug/16 05:07 PM]
The data type is OPTION

Does this mean that this will not work with QB 6.1.9?

Steve Luo [05/Aug/16 10:03 PM]
it cannot work with QB 6.1.9. You need upgrade to QB 6.1.12 or later.