Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to hide and show a field depending on if it is empty or not

We have an elements connect field that we want to hide and show depending on if it has options or not. We will be using script runner or behaviour.

2 answers

Hi David

In the Cloud, it is not possible to hide a connected item if there are no values returned for it. I'm afraid you won't be able to use Behaviours in the Cloud: 

"At this time it is not possible to implement the Behaviours feature within ScriptRunner for Jira Cloud."


However, it is possible to have Behaviours scripts manipulate Elements Connect fields in Jira Server and Data Center:


I hope this helps.

Hi @David  You could try configure Issue Layout in order to hide some fields when those are empty.


Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you