We have 4 select list custom fields devided into two issue types. Please find the below details -
In Issue Type Observation custom fields are - Audit Type and Sub Audit Type. The Value of Sub Audit Type is - Project, Release,Training,Security,Defect
In Issue Type Auditor's Task custom Fields are - Task Type and Sub Task. The Value of Sub Task is - Project Audit, Release Audit,Training Audit,Security Audit
The Custom Field Value of Audit Type is - 10625
The Custom Field Value of Sub Audit Type is - 10639
The Custom Field Value of Task Type is - 10640
The Custom Field Value of Sub Task is - 10645
Now our requirement is in issue type observation the "Sub Audit Type" Custom Filed only show when we select the value "Project" and "Release" from Audit Type Custom Field. Similarly in issue type Audito's Task the "Sub Task" Custom Field only show when we select the value "Project Audit" and "release Audit" from Task Type Custom Field.
The value of Project is - 10800
The Value of Release is - 10801
The Value of Project Audit is - 10877
The Value of Release Audit is - 10878
To configure above mentioned things we have tried 3 different things -
i) Use behavior plugin Configuration to hide/show Sub Task and Sub Audit Type
ii) Use Java Script in the description of Sub Task and Sub Audit Type Custom Field. we have edited the description from custom field section as well as field configuration section
iii) Use both the above procedure at a time
Problem - i) When we user behavior the target field completely disappears.Target field not appearing even selecting the source field values which I have alrady mentioned
ii) When we use Java Script Target Filed some times disappeared and appeared when we select the source field values which I have already mentioned. Means working perfectly. But some time Both the source and destination field visible which is not desired. Means it behaves inconsistently.
iii) When we use both Behaviour and Javascript the Target field completely disappeared and not visible even choosing the source field values which I have already mentioned.
Our Jira Version is - 5.2.4
And Behaviour Plugin Version is - 0.5.3