Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Associating an issue status to a screen

Deleted user
June 3, 2018

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?

1 answer

1 accepted

0 votes
Answer accepted
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 3, 2018

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

Deleted user
June 3, 2018

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.

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 3, 2018

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.

Deleted user
June 3, 2018

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?

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 3, 2018

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events