Forums

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

Hide custom fields based on drop down selection

Garden16_
March 25, 2022

I have a custom field that  displays User story   and Epic  (Issue type 1 and Issue type 2)

This custom field is multi issue search picker. I have created this field using the scripted field in Script runner.

I have custom Field A, Field B and Field C which have to be displayed based on the issue type selected in the drop down custom field  - User story and Epic(Issue type 1 and Issue type 2) 

If issue type 1 (user story) is selected from the drop down then the other custom fields A,B , C have to be displayed . If I select Issue type 2 (epic) the custom fields A,B , C should not be displayed .

 

How do I achieve it using script runner behavior code 

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Nic Brough -Adaptavist-
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 Champions.
June 4, 2018

I'd have a look at the docs and help for the polarian class that you have imported.  Your code is using it incorrectly, but it's not Atlassian code, so we're probably not really able to hgelp you.

kunti pawar
June 4, 2018

same code I am able to execute from eclipse using same jar

kunti pawar
June 6, 2018

Jira is also expired is there any impact on this above  error.

Nic Brough -Adaptavist-
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 Champions.
June 6, 2018

It depends on what has expired.  If it's a dev or evaluation licence, yes, it might be, as a lot of the API goes read-only.  If it's a full commercial licence, it won't be a problem

kunti pawar
June 25, 2018

Hi Nic,

Now I have Licence copy then also I am getting same error 

TAGS
AUG Leaders

Atlassian Community Events