In order to apply workflow-based permissions:
Add a new permission scheme and apply permissions for desired workflow status
Log in as a user with the 'Jira Administrators' global permission.
Navigate to Admin menu → Issues. Select Custom fields permission schemes.
Click the Add Scheme link, enter the name and optional description → Save.
In the Operations section click Permissions, apply desired permissions you want to add at particular status for your secure field(s).
Add a property to a workflow status
Navigate to Admin menu → Issues. Select Workflows and locate the workflow of a needed project → Edit.
Select status for which you want to apply secure fields permissions and click on Properties → Add New Property.
Property Key: com.coresoftlabs.secure-fields.field.XXXXX.scheme, where XXXXX - id of secure field.
Property Value: id of newly created permission scheme.
3. Click Add and publish the workflow.