I create a customer filed, and I want it visible for some issue status(such as ”in progress”), but invisible for other issue status (such as“in review” ). how should I do?
Hello,
Do you want the field to be invisible in the view issue screen or in the edit issue screen?
If you want to hide a custom field from the view issue screen, you can set the null value for the field and the field will not be visible.
If you want to hide a custom field from the edit issue screen, then you can use Power Scripts Live Fields or ScriptRunner Behaviours.
Or you can also have a look at the Field Security Plugin:https://marketplace.atlassian.com/apps/23216/field-security-plugin-for-jira?hosting=server&tab=overview
Hi.Alexey
Thank you for you reply. in fact, I want the field to be invisible when the issue is in some status. both in view issue screen and in the edit issue screen.
for example, there two issue status 1. in progress 2 resolved .and one customer filed named "resolved time"
I want this customer invisible at status 1[in progress], when i change the issue status to 2[resolved] .the customer filed will be visible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can develop your own plugin. I think it would the cleanest solution but it requires some knowledge.
Or you could use ScriptRunner. You can hide the field in the edit screen by behaviours and in the view screen you should show a scripted field, which returns the value of your custom field in certain statuses otherwise the returned value is null.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexey
Thank you for your quickly response.
I don't know how to use script runner for filed , is there some guide about that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try to read this info:
https://scriptrunner.adaptavist.com/5.0.4/jira/scripted-fields.html
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.