Hi, I am unable to upload the issues via CSV format due to below error Fatal error during import: Cannot invoke "com.atlassian.jira.issue.Issue.getIssueType()" because "issue" is null. I have provided issue type in the CSV file
welcome to the community and thank you for your question.
Usually such errors are related to formatting issues of the csv file.
Could you post an example line of your csv file including the header?
Also: did you check if the issue type is available in the project you are trying to import to?
Hello @Mudita Mathur ,
Welcome to the Atlassian Community! 😊
The error …Issue.getIssueType()" because issue is null means Jira tried to work with an issue that didn’t have a valid type set.
Likely causes include:
1. Missing/invalid Issue Type in some CSV rows — check names and make sure Issue type is added to the Jira project’s scheme (or set a default type).
2. A validator on the Create transition requires a field that’s not in your CSV — test manually and add that field, or adjust (remove) the validator. Once csv import is done add the validator back.
3. If a post-function on creation could be clearing necessary data — then disable post funtion cause issue, re-import, then re-enable that post function.
4. Still facing issue then as suggested by @Oleksii Melnyk please provide your csv file screen shot to understand the issue in detail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Mudita Mathur ! Please indicate how the data looks inside the csv file?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.