How to make Team LOCKED as a Mandatory filed

Sudarsana G 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

0 votes
Answer accepted
AMABOWILLI 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 April 1, 2024

Hi @AMABOWILLI ,

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   

AMABOWILLI 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 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 ) 

AMABOWILLI April 1, 2024

And you are the Jira Administrator I presume? 

Sudarsana G April 1, 2024

Yes i have an Site Admin Access 

Sudarsana G April 1, 2024

team.PNG

 

Team filed is from JIRA cloud 

0 votes
Sudarsana G April 1, 2024

Hi Any suggestion would be much appreciated 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events