Inserting value type list with iDalko table grid

Pablo Gomez Justicia December 8, 2017

I am developing a plugin for JIRA that sets a custom field a iDalko DateGrid type. This custom field has 3 fields inside and one of them is a list type. It refers to another custom field list type with a list of established values string type. I am trying to insert a string of this list, but I am getting a TGEInvalidCallException. Do you know how to set this field??

The Custom Field type DateGrid is Titulo and it has 3 fields:

  • tipoTitulo: list type, references custom field "TipoTitulo"
  • fechaEscr: date type.
  • nombre: string type.

TipoTitulo is a customField list type with values: "TEST1", "TEST2", "TEST3".

Titulo titulo1 = new Titulo("TEST1", new Date(), "P. Smith");
long issueId = 2345l;
int cfId = 456;

try {
List<Map<String, Object>> valuesToInsert = titulo1.getValuesToInsert();
if (!valuesToInsert.isEmpty()) {
tGEGridTableDataManager.addRows(issueId, cfId, valuesToInsert, adminUser);
}
} catch (Exception e) {
...
}

I am having a TGEInvalidCallException in addRows instruction.

1 answer

0 votes
francis
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
December 8, 2017

Hi Pablo,

Can you forward this case to support dot tge at idalko dot com and we'll try to get it resolved.

 

Francis

Suggest an answer

Log in or Sign up to answer