I want to hide 5 fields based on the issue type when creating a ticket. If I select Epic issue type, all 5 fields will be visible, but if I select other issue types (story, bug, and task), all 5 fields will be hidden. I have used a scriptrunner (Behaviour), but it seems there something missing/wrong. What could be the problem?
The 5 fields: Staff ID, Last Day in the Office, VF departments, Staff Name, Line Manager.
The script I have used:
@Yousuf Al Rawahi you can use screens to define what appears on different issue types and for actions like creating or editing.
Take a look at Defining a screen
I think I have the solution, I have changed from
if(issuetypeField.getValue().value == 'Story'){
to
if(issuetypeField.getValue().name == 'Story'){
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.