Forums

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

Issue Picker Field is not working when set to Required by Behavior during issue transition.

sanjay
Contributor
July 7, 2020

def DJ = getFieldById("customfield_10702")
def TC = getFieldById("customfield_10809")
def TJ = getFieldById("customfield_10703")
def CR = getFieldById("customfield_10700")
def DI = getFieldById("customfield_10500")

if (s == "Duplicate defect" )

{


  TC.setHidden(true)
  DJ.setHidden(true)
  TJ.setHidden(true)
  CR.setHidden(true)
  DI.setHidden(false)
  DJ.setRequired(false)
  CR.setRequired(false)
  TC.setRequired(false)
  TJ.setRequired(false)
  DI.setRequired(true)


}

Here is the condition I am checking but getting Error "Please enter the value for the field"

Even if I choose the issue and test the field showing above mentioned error.

Please help in the scenario.

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events