I am trying to set up a Recruit-type project on Jira Cloud and I would like to make certain fields (Salary for example) visible only to some users in the organisation. Can anyone help?
Out of the box JIRA doesn't allow that. There are some workarounds using scriptrunner, but you may not have that available in cloud.
As for restricting view..
Atlassian OOTB do not offer any solution for field security, so I guess only way is to do via extension/customization. I know for Server there are few extensions that could help with that but unfortunately I am not aware of anything for Cloud...
Restricting the editing might be possible via procedure like this
https://confluence.atlassian.com/jira/how-can-i-control-the-editing-of-issue-fields-via-workflow-149834.html
But if you are using Next Gen projects it might not be valid
Thanks @Joe Pitt! I found this https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira Any indication as to what script I should use?
Thanks @Mirek ! But I need more than editing restrictions. It's important that the field is not visible to certain users.
@PaulC No. I don't use scripts. I do government contracting and have historically found whoever inherits JIRA when the contract ends may not be able to support them.
Then this is what I mentioned already for viewing Atlassian do not provide any field security settings that would allow hide the field from specific people/groups. For Server there are some extensions, but for Cloud version I am unfortunately not aware of any solution
That's a good point Thanks!
Ok, @Mirek thanks for your help!
Hi Paul,
Thank you for your question.
I can confirm that the ScriptRunner for JIRA Cloud plugin is unable to perform any dynamic validation on issue forms to link, show or hide fields like the server version can with the Behaviors feature.
Also I can confirm that the plugin cannot dynamically populate field values like it can in the server version can with the Behaviors feature.
The reason we are unable to provide this functionality is due to the restricted functionality and API's which Atlassian provide inside JIRA Cloud, due to the fact that Atlassian only provide a Rest API in Jira Cloud and not the same Java API that the server version contains.
You can see more detailed information on the differences between ScriptRunner for JIRA Cloud and ScriptRunner for JIRA Server inside of the documentation page located here.
I hope this information helps.
Regards,
Kristian
It looks like you're new here. Sign in or register to get started.