When changing priority with behaviours the graphic won't change

Henrik Mikkelsen July 4, 2017

In a behaviour I'm setting the priority with e.g. 

"def allowedPriorities = constantsManager.getPriorities().findAll() { it.id.toInteger() == 1}.collectEntries {
   [(it.id): it.name]
}
fieldPriority.setFieldOptions(allowedPriorities)
fieldPriority.setFormValue("1")
priorityReadOnly = true"

I know the code is overkill - but I have a lot of different cases, where more priorities are allowed. I should also mention that we have renamed the priorities to "1", "2" and so on.

This code works - the priority is set, it becomes read-only. BUT the icon won't change. Any ideas?

1 answer

0 votes
Henrik Mikkelsen August 7, 2017

Bump

Jenna Davis
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 9, 2017

Hello, 

Sorry for such a late reply here! I read your ticket on Product Support and am going to handle this question over there. :)

Jenna

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events