Jira Behaviour Plugin does not work

Hello,

i am trying to use this script, but it does not work. can you help me please? I am not an expert in jira.

I want to hide a textfield (other) when in the cascading-select list (select) a specific value is set.

FormField select = getFieldById("customfield_11400:1")
FormField other = getFieldById("customfield_11402")

if (select.getFormValue() == '11211') {
other.setHidden(true)
} else {
other.setHidden(false)
}

Jira 6.0.8

Best regards

5 answers

1 accepted

Still not working

Error Log

2014-04-09 11:26:37,434 http-bio-8080-exec-17 WARN admin 686x8590x1 96ob8i IPADRESS /secure/QuickCreateIssue!default.jspa [issue.customfields.impl.CascadingSelectCFType] Object passed 'null' is not an Option but is null

I guess I'm not the dumbest

I know that this plugin is compatible but absolutely does not work. I get no feedback from the developers, I wonder why they developed a free plugin and this does not work

it would be as if I would build a car that can not drive

I think you have a misstake in the customfield.

FormField select = getFieldById("customfield_11400:1")

I guess it should look like this:

FormField select = getFieldById("customfield_11401")

 

 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,831 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot