Hi all,
I have bug when I assigning a Insight Custom Field value to another custom field.
In a first Jira ticket, I assign a Insight object to a Insight custom field. Then I create via script another ticket, and populate my Insight Object to the other ticket.
Here, all seems good, but When I want to assign the value of this Insight Custom field to another custom field (not insight type), it returns me a set of values :
I use :
CustomField insightCustomField = ComponentAccessor.getCustomFieldManager().getCustomFieldObject(customFieldInsightID);
CustomField topopulate = ComponentAccessor.getCustomFieldManager().getCustomFieldObject(xxx);
issue.setCustomFieldValue(topopulate , insightCustomField)
In this case, the result in custom field is a comma separated list of values (and index 0 is not always the real value of insight custom field.
An idea ?
thanks in advance.
Regards
How do you want to filter it? By attribute (Object Name)?
Hi Gezim,
I found why, it's because I use findObjectsByIQLAndSchema function instead of findObjects.
Now, it's ok, except when the function returns only one value..
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.