Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How Can I Use Behaviours to Mark a Field Tab as Required?

I know that I can do things like hide, show, and switch to FieldTab objects using Jira Behaviours.

Is there a way to mark a tab as required using the asterisk?  Because I want to indicate to users that a field has become required, and users become confused as to why they cannot submit the form when the tab on which the now required field is placed has not been marked as required by the UI.

Sure, the field itself has, but not the tab on which it sits.

References:

https://scriptrunner.adaptavist.com/latest/jira/recipes/behaviours/operations-on-tabs.html

https://docs.atlassian.com/software/jira/docs/api/8.4.3/com/atlassian/jira/issue/fields/screen/FieldScreenTab.html

2 answers

Hi Michael,

 

Using Behaviour, if there are field that has become required and not fill in. The tab text would change to red colour as below which indicate there are some field required not field in:

 Create Issue - JIRA 2021-02-14 03-00-03.png

 

I am testing using Jira 8.15 with latest ScriptRunner 6.19

 

Regards,
Amirul

Thanks, I'll test it out when we upgrade to Jira 8.14-15.

Like Anneli T likes this

@Amirul _Adaptavist_,

Thanks for the Behaviour post, Can you share with me the script for the tabs that would change to red colour.

Thank you.

0 votes
Fadoua Community Leader Jan 31, 2021

@Michael Spoonauer 

Not sure it is possible.

I know you can make all the fields under a specific tab required. Not sure you can make a tab required.

Best,

Fadoua

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

382 views 13 14
Read article

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