Forums

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

How do I make few fields added to "Log Time" sections and also make them mandatory.

Hari
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 24, 2022

Hi Team,

I have a organization requirement where we have to force users filling time to update/fill two of custom fields (e.g. Roadmap, ProductLine).

Problem: I am new to JIRA administration and the only person in organization to take care of all timesheets entered by team using Log Time features of JIRA to have these two custom fields

What is done: I have created a custom field (Productline) using Fields->CustomFields and assigned it to few screens. There is existing custom field called Roadmap which is assigned to 69 screens. However the Roadmap field is not marked as mandatory.

What is needed: When users create an issue the fields Roadmap/Productline are appearing but it is not showing as mandatory so teams are logging in to the Log Work screen and entering hours. This needs to be restricted two ways

1. In the Log Work screen teams should see both Roadmap and Product line fields and also as mandatory fields before Log Time button is clicked

2. Also when any issue is created in JIRA these two fields should also show as mandatory

Please advise how this can be done.

2 answers

1 vote
Pramodh M
Community Champion
January 24, 2022

Hi @Hari 

Welcome to the Community!!

You could achieve this via various method

Make a separate field configuration for the project and in the field configuration make the field as required

https://support.atlassian.com/jira-cloud-administration/docs/change-a-field-configuration

Include the Transition screen between statuses and make the fields required via the validator

https://support.atlassian.com/jira-cloud-administration/docs/configure-advanced-issue-workflows/#Advancedworkflowconfiguration-validators

Here's how to make the time tracking field required

https://community.atlassian.com/t5/Jira-questions/How-can-I-make-field-TIME-TRACKING-required/qaq-p/1240440

Thanks,
Pramodh

0 votes
Tom Lister
Community Champion
January 24, 2022

Hi @Hari 

You can mark fields are required in the 'field configuration scheme'.

see links below.

https://support.atlassian.com/jira-cloud-administration/docs/configure-a-field-configuration-scheme/ 

https://bugzillametrics.org/jira/how-do-i-change-field-configuration-scheme-in-jira.html

Are you on server or cloud?

You can'y amend the log work screens with using additional plugins like scriptrunner or tempo.

Tom

Suggest an answer

Log in or Sign up to answer