Hi
When importing data from a json to update object in Insight / assets is working as expected for most of the objects.
But when the object to be updated contains an attribute linked to a Jira project, the update fails.
errorMessages=[Agility Support-as-a-Service(TLN-21247): context: rlabs-insight-attribute-461; messages: [ErrorMessage{i18nKey='rlabs.insight.i18n.constraint.violation.ObjectAttributeValueBean.Invalid.Project', parameters=[], additionalMessage=null}]; ]
ObjectTypes : objectTypeResultMap={181=com.riadalabs.jira.plugins.insight.services.imports.common.ImportResult$ObjectTypeResult@654ee18[
errorMessages=[TLN-Organization]
2023-07-17 16:20:02,518 [insight-InsightThreadGroup-worker-thread-56] | Unable to update references on object Agility Support-as-a-Service (TLN-21247), ObjectTypeId: 181, Attributes: (AttributeTypeId: 302, value(s):[-1(Agility Support-as-a-Service)],AttributeTypeId: 310, value(s):[-1(20559)],AttributeTypeId: 314, value(s):[-1(21252)],AttributeTypeId: 311, value(s):[-1(1)],AttributeTypeId: 312, value(s):[-1(Mon May 01 02:00:00 CEST 2023)],AttributeTypeId: 461, value(s):[-1(27000)],AttributeTypeId: 462, value(s):[-1(501951948)]), avatar: false with actions: [] due to validation exception. Check your attribute configuration Error messages: context: rlabs-insight-attribute-461; messages: [ErrorMessage{i18nKey='rlabs.insight.i18n.constraint.violation.ObjectAttributeValueBean.Invalid.Project', parameters=[], additionalMessage=null}];
When removing the attribute to a jira project, the update of the object is working as expected:
Any suggestions?
I can reproduce it on 3 environments.
Jira: v9.4.6
JSM: 5.4.6
Solved by providing the 'browse' permissions, in the projects permissions scheme, for the user that is used to import the data.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.