Forums

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

How to show custom field in specific statuses only, hide the rest of the time

Nives Kolaric-Penman September 26, 2021

Hello, 

I'm trying to make a custom field "Reason for Decline" visible only when the Epic is in a specific status (Declined or Declined by Investee). It should be invisible the rest of the time to the user. Is there a way to do this natively in Jira without plug-ins or add-ons? 

Many thanks

3 answers

1 accepted

2 votes
Answer accepted
Taranjeet Singh
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 27, 2021

@Nives Kolaric-Penman Since you are using Jira Cloud, I don't think you have ScriptRunner behaviours feature available in ScriptRunner Cloud add-on.

This is my suggestion that you can do natively in Jira Cloud:

Create your new custom field and add it only to the Transition screens (linked to the transitions that lead to Declined and Declined by Investee statuses in the Epic workflow). Also make that field required on the transition screens (possibly, using a out-of-the-box validator on these transitions)

This way, the field will be captured while declining the Epic and will have a value displayed on the view screen after that. (I am assuming bothe Declined and Declined by Trustee are the last statusus (i.e. 'Done' category statuses) of the Epic workflow and it cannot be reopened after that).

Let me know if that helps!

Nives Kolaric-Penman September 27, 2021

Hey Taranjeet

This is great! I've just tried it and it works for what I wanted to do. The custom field only appears at the resolution state (I've created my own screen as well). 

Appreciate your help!

Taranjeet Singh
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 27, 2021

You're welcome, @Nives Kolaric-Penman ! Glad it worked for you.

Zaldy Parian
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 Leaders.
July 31, 2023

Hi @Taranjeet Singh and @Nives Kolaric-Penman ,

I know this is an old post. But would mind giving more details on how to do this?
Appreciate any screenshot for guidance, please.

Thanks.

0 votes
Suvarna Gaikwad
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 Leaders.
September 26, 2021

Hello @Nives Kolaric-Penman 

Fields on screens are associated with Issue Types throughout their life cycle. In other words, fields will be visible on Issue Type screens irrespective of their status. 

Am afraid this is not available in jira natively.

I would like to suggest that behaviours from Adaptivist Scriptrunner plugin can be helpful for your requirement.

0 votes
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 26, 2021

Hi @Nives Kolaric-Penman 

In Jira, I would not say Impossible, since it's Cloud there are not many customizations we could do without plugins.

ScriptRunner Plugin with Behaviour Feature will help you achieve this requirement easily.

Thanks,
Pramodh

Maximiliano Javier Julio August 29, 2023

Hi @Pramodh M 

How did you do it?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, dance, gamification, badge, razzle dazzle, team '25 anaheim

Earn a one-day badge today and do the Atlazzle Dazzle! 🕺

Today only! Share what you’re the most excited about for Team ‘25 or just dance out the beginning of a new quarter with us.

Comment the post
AUG Leaders

Atlassian Community Events