Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Select List in screen not pre-selecting existing value

jdohms January 20, 2021

Hello folks,

I am having an unusual issue where we have a workflow transition that brings up a screen with some of the fields of the issue on it for modification.  One (and only one) of the fields on that screen is a select list, but when you go to 'edit' the field, it comes up with a different one than is set on the issue.  specifically, it comes up with the first option in the list after 'None'.

Here are a couple of screenshots:

First, the issue view:

jira-issue.png

Then when we bring up a custom 'edit' screen prepopulated with the existing values:

jira-issue2.png

This is a simple Select List (single choice) field with five options that have not changed.   The default value on the custom field configuration is 'None', but of course, this field already has a value at this point.  Also of note, other fields are not exhibiting the same behaviour.  I also tried removing and readding the field from the screen, to no effect.

What could be causing this issue?  Why would it not be retrieving and display the existing value successfully?

It's causing problems anytime the screen is used, as users will not notice they need to re-select the choice they previously made.

Thanks in advance,
Jordan

1 answer

1 accepted

0 votes
Answer accepted
mogavenasan
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.
January 25, 2021

Hi @jdohms,

Do you have any Scriptrunner Behaviour or any Javascript injected in the Announcement Banner? These sorts of values are easily manipulated on the front-end, hence it would be a good start to look at them first.

  1. To rule out any web browser related cause, you can use a different web browser.
  2. To rule out any installed third-party apps, you can enable Safe Mode on Jira.
  3. Take a look at the Jira's Announcement Banner content.

I hope that this helps.

Thanks,
Moga

jdohms January 29, 2021

Brilliant.  Thank you so much.  There was a Scriptrunner Behaviour changing the field value.  I didn't build this project, so I am still discovering all the bits and pieces involved.

Like mogavenasan likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.13.0
TAGS
AUG Leaders

Atlassian Community Events