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

How can I set a custom field as required?

Mohamed El Taweel March 7, 2018

I have a screen "PO Screen" with two fields ponumber and amount. This screen is assigned to a transition.

How can I force the user to enter value in both fields when He do the transition without buying any addons, alternatives and detailed steps is highly appreciated.

 

Thanks a lot

2 answers

0 votes
Warren
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.
March 7, 2018

Hi Mohamed

Go to Issues Admin, then choose Field Configuration. Choose the configuration which applies to your "project", then scroll through the custom fields to those that you're interested in. On the right hand side of each row, there is a toggle link - either Required or Optional - this can be used to ensure that fields are mandatory

Mohamed El Taweel March 7, 2018

I did this and reverted it back because when other project tried to create a new ticket they were asked to enter the ponumber and amount, I don't why.

 

Thank you for your input.

Warren
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.
March 7, 2018

You'll need a separate field Configuration just for your project (you can Copy an existing one), so that those fields can be set to Required for your project but not for others

Mohamed El Taweel March 7, 2018

In the field configuration, there is no option to create a filed configuration to which I can assign the fileds ponumber and amount and set the required property

In the field configuration page we see the all the fields where I can set the field as required or optional.

 

Thank you

Nic Brough -Adaptavist-
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.
March 7, 2018

I don't understand what a ponumber or amount is - one of them is not a word and the other has nothing to do with field config.

You need to create a new field configuration, and then a new field configuration scheme (to tell different projects to use the new field configuration)

0 votes
Nic Brough -Adaptavist-
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.
March 7, 2018

You need validators that can check the entry is correct.

The Jira ones that come off the shelf cannot do this.  You will need add-ons to provide them.  (Some that do it might be free, but you need add-ons)

Mohamed El Taweel March 7, 2018

 

You mean that in my case addon is a must?

Is there any other way achieve it by writing a scipt?

Thank you for your input.

Nic Brough -Adaptavist-
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.
March 7, 2018

To write a "script", you will need an add-on to provide the scripting hooks and engine.  So yes, whatever way you're doing this, you are going to need add-ons.

Warren's answer below is an all-or-nothing - if flag a field as mandatory, it is mandatory from the point of issue creation.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events