Hi, I'm hoping this is a simple oversight on my behalf.
In Jira Software
We need to export our existing Open Issues, modify a few fields, and then reimport them back in.
The documentation says the existing Issue should be updating.
What are we missing? Is this a bug? I thought this worked last night during a basic test. I am testing this again today to ensure that we are getting the desired results. I thought this would be a quick test, but it has me scratching my head for the past 2 hours after doing searches.
Please help.
=============UPDATE 20180918 (a few hours later):
I was able to update the custom field by importing, some interesting findings for success:
"Issue id" - appears to be the issue. By not mapping the Issue id, the Issues update correctly.
Are those 4 issues of a sub-task issuetype? If so, there's a related feature request:
https://jira.atlassian.com/plugins/servlet/mobile#issue/JRACLOUD-64543
While I've not tried it before, I would try including the subtasks properly mapped to their respective parents like if it were a new issue import:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the quick reply.
These are just standard Issues, not sub-tasks. That said, they are type 'tasks' not type 'issues', not sure if that would be causing the issue.
That said, I am not mapping the "issuetype" during import. I did try mapping the "issuetype" to the 'Issue Type' field in the CSV. On the "Values" screen following the "Fields" mapping screen I got a java-render error when the Jira Software got to the "issuetype" field. I tried this a couple of times, each time, the web app failed at the 'issuetype' field.
See below for a small clip of that error:
....Issue Type
(imported as issuetype) Task → An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getIssueTypes' in class com.atlassian.jira.plugins.importer.imports.csv.web.CsvValueMappingsPage threw exception java.lang.NullPointerException at com.atl.......
I didn't read that the Issue Type was a required field, but this error is unusual and could be related.
Thanks again for helping me through this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh, you just truncated the stack trace where it started to become interesting for determining the root cause... hehe.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Semi-Unabridged Version :) (too long for reply)
An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getIssueTypes' in class com.atlassian.jira.plugins.importer.imports.csv.web.CsvValueMappingsPage threw exception java.lang.NullPointerException at com.atlassian.jira.plugins.jim-plugin:actions//templates/admin/views/csv/csvValueMappingsPage.vm[line 101, column 51] at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:507) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTElseIfStatement.render(ASTElseIfStatement.java:92) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.Foreach.performIteration(Foreach.java:393) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:316) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.Foreach.performIteration(Foreach.java:393) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:316) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328) at org.apache.velocity.Template.merge(Template.java:235) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBodyImpl(DefaultVelocityManager.java:117) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBody(DefaultVelocityManager.java:97) at -------- TRIMMED TO SAVE SCREEN SPACE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
May you paste here the full error being thrown on trying to map the issue type in your csv import?
May you visit the issuetypes configuration page and double-check if there are more than one type of issue named Task and if they're standard or subtask?
You may also open a ticket with Atlassian Support here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the reply again, I did attempt to paste the full trace, unfortunately it was about 10k characters.
I have found that I can accomplish my desired results by not mapping the Issue ID.
Thanks again for offering help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.