Inserting value type list with iDalko table grid

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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

196 views 3 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you