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.
Thanks @Joe Pitt! I found this https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira Any indication as to what script I should use?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
But if you are using Next Gen projects it might not be valid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi @Kristian Walker _Adaptavist_ thank you very much for jumping it. That saved me some time testing and trying to get things to work. If this won't work either, should I take it that it's impossible to achieve what I asked?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Paul,
I can confirm that it is not possible to achieve your requirement with ScriptRunner for Jira Cloud.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.