-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins version: 2.32.2
Jira version: 6.4.12
Jira Steps Plugin version: 1.2.3
Code:
jiraNewComponent( component: [name : 'componentName', description: '', project : 'IN'], auditLog: false, site: 'myjira' )
Error:
JIRA: Site - myjira - Creating new component: Component(id=null, name=componentName, description=, leadUserName=null, realAssignee=null, userType=null, isAssigneeTypeValid=false, project=IN, projectId=0) Error Code: -1 Error Message: Conflicting/ambiguous property name definitions (implicit name 'userType'): found multiple explicit names: [assigneeType, userType], but also implicit accessor: [method org.thoughtslive.jenkins.plugins.jira.api.Component#getUserType(0 params)][visible=true,ignore=false,explicitName=false]
Suggested solution:
Is there any reason why this property: https://github.com/jenkinsci/jira-steps-plugin/blob/master/src/main/java/org/thoughtslive/jenkins/plugins/jira/api/Component.java#L45 is called userType instead of assigneeType? After changing it to assigneeType everything seems to work just fine.