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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

168 views 0 2
Read article

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