Forums

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

While importing using Json , Priority value is not available

Karthick Jaganathan August 2, 2023
Caused by: com.atlassian.jira.plugins.importer.imports.csv.ImportException: Priority [ Lowest ] is not in the project [ RA ] Priority Schema.  Also Priority Schema couldn't be changed, because it's shared by more than one project.
	at com.atlassian.jira.plugins.importer.imports.importer.impl.PriorityUtils.preFilterPriority(PriorityUtils.java:60)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.convertExternalIssueToIssue(ExternalUtils.java:543)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.createIssue(DefaultJiraDataImporter.java:887)

I am trying to import Issues via JSON, though the priority values are available it is throwing above error. 

2 answers

1 accepted

0 votes
Answer accepted
Kian Stack Mumo Systems
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 2, 2023

@Karthick Jaganathan

 

It's saying that the value is not available in the priority scheme set for that project. Can you confirm if that is the case?

 

Thanks,

 

Kian

Karthick Jaganathan August 2, 2023

No Kian its available.

I just added all the values as per source.

Kian Stack Mumo Systems
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 2, 2023

What is the exact string of text in your JSON? Can you share the line you have for that priority along with a screenshot of your priority scheme tied to the project RA?

 

Thanks,

 

Kian

0 votes
Karthick Jaganathan August 2, 2023

JSON : 

items" : [ {
          "fieldType" : "jira",
          "field" : "priority",
          "oldValue" : "3",
          "oldDisplayValue" : "Medium",
          "newValue" : "5",
          "newDisplayValue" : "Lowest"
        } ]image 1.JPG
Karthick Jaganathan August 2, 2023
"key" : "RA-233",
      "summary"
      "reporter"
      "assignee" : ,
      "description" : "Om in de toekomst meer te kunnen doen met het massaal analyseren van reviews, emails en andere tekstuele reacties van klanten is het wellicht handig om NLP of semantische analyses te leren die in bijvoorbeeld Python uitgevoerd kunnen worden. Deze analyses kunnen vervolgens gebruikt worden om aan te geven of de algehele stemming positief of negatief is.",
      "issueType" : "Story",
      "status" : "Backlog",
      "priority" : "Lowest",
      "created" : 1662022756742,
      "updated" : 1682332227022,
      "components" : [ "Datacleaning" ],
      "watchers"
      "history" : [ {
        "author"
        "created" : 1662022760285,
        "items" : [ {
          "fieldType" : "custom",
          "field" : "Rank",
          "newDisplayValue"
Kian Stack Mumo Systems
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 2, 2023

Everything looks fine in your data. It looks like someone else ran into this issue - https://community.atlassian.com/t5/Jira-questions/JIRA-CSV-Import-priorities/qaq-p/744932.

 

I would consider raising a ticket with Atlassian as this could be a deeper bug. I tried to find an existing bug in their system related to this, but I didn't have any luck.

Suggest an answer

Log in or Sign up to answer