The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to make Team LOCKED as a Mandatory filed

Sudarsana G
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.
March 31, 2024

team.PNG

 

Validators are not showing up the filed and Tried behaviors code it is also not working 

/* Specify the ID of the custom field you want to make mandatory */
const fieldId = "customfield_14001";

/* Make the custom field mandatory */
getFieldById(fieldId).setRequired(true);
Any suggestions ?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Tankem Williams
Contributor
March 31, 2024

Hello @Sudarsana G Thank you for your question. This issue has already been answered here

https://community.atlassian.com/t5/Jira-Software-questions/How-do-I-make-a-quot-Locked-quot-field-a-required-field-for-a/qaq-p/1310766

Fields may be different but the concept is the same. Let me know if this helps

 

Thanks.

Sudarsana G
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.
April 1, 2024

Hi @Tankem Williams ,

Thank you for your reply

It is not showing in the Validators, PFA for your reference validator.PNG

FYI I am trying to achieve this during create transitions   

Tankem Williams
Contributor
April 1, 2024

Please check if the field context is allowing the field to be used on the project you are working on. 

Sudarsana G
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.
April 1, 2024

Nope It wont allow to add New filed context, please check my first screen shot in the description ( It has only default Context ) 

Tankem Williams
Contributor
April 1, 2024

And you are the Jira Administrator I presume? 

Sudarsana G
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.
April 1, 2024

Yes i have an Site Admin Access 

Sudarsana G
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.
April 1, 2024

team.PNG

 

Team filed is from JIRA cloud 

0 votes
Sudarsana G
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.
April 1, 2024

Hi Any suggestion would be much appreciated 

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events