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

Importing CSV file skipped required fields when validating

Diana
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, 2022

I set up an issue type to have a required field on create, edit, and view screens. I also have this field under ScriptRunner behaviors as a required field mapped to its dedicated workflow. It works when manually creating the issue, but when importing via Issues menu "Import Issues from CSV" users are able to bypass the required field and still create issues. They don't get flagged that the required custom field is empty, yet they do when they don't have Story Points filled.

Field Configuration has it set to required. The custom field is mapped to the correct project.

The weird part is when I test it, I get the correct error message that the custom field is required.

Could someone help me troubleshoot this? What am I missing that is making the csv import bypass this required custom field? Jira version is 8.13 server

1 answer

1 accepted

0 votes
Answer accepted
Diana
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, 2022

I found my own answer!

When you import issues via CSV, if you select via the dropdown menu the field name but forget to checkmark the box “Map field value” next to it, the import will still go through regardless if the field is required or not, and that’s why you’ll see that field is empty because it wasn’t mapped.

I'm guess this is a Jira bug then? Is there a way to set up a reminder to check that box before importing?

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Jira Events