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 Champion
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 Champion
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 Champion
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
TAGS
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events