I need to hide some fields based on current login (eg. on create issue screen I need to hide components list, so customer or reporter will not see. then project leader can see and fill this field once ticket is created by customer
You can't. Jira doesn't do field level security - a field is either on the screen or it isn't and you can't change who can or can't see/edit it by user.
Some of the system fields do have this - assignee, reporter, fix version, scheduled date etc - these are controlled by permissions, but the rest, and all your custom fields, don't do it.
See https://jira.atlassian.com/browse/JRA-1330 for the request, why it's not going to be implemented soon and a LOT of workarounds
It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...
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!
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