Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How do I import stories with Multiple "Acceptance Criteria" Values

I have made several attempts/tests to upload issues with multiple acceptance criteria without success.  I reach the level of creating the multiple acceptance criteria elements, but they are all with "Empty Name" content.  Here the content of what I put in the Acceptance Criteria cell :

{
  "data": [
     {
       "Name": "abc"
     }
  ]
}

Normally, I should read "abc" instead of "Empty Name" in the acceptance criteria bullet.  What am I doing wrong?

1 answer

0 votes
Prince Nyeche
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.
Sep 24, 2023

Hi,

Have you tried using the Jira CSV Importer to import values to a custom field in Jira issues? Also, what method are you using to import? For example, JSON or the REST API since you're using an object to represent your value.

I am currently using the JIRA csv importer indeed.  I use the US-ASCII, comma delimited method to import.  It work correctly for all other fields but acceptance criteria where it tells me that, whatever I write as data in the cell, "the Json format of the message is not adequate".  That's why I started puting some Json code in this cell...

Wojciech Wardaszko _HeroCoders_
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.
Sep 25, 2023

Hi @Julie Hebert 

Welcome to the Community!

It's a totally wild guess here, but this error kind of brings the Atlassian Document Format to mind. From what I've gathered it's the required format for textarea custom fields.

You may want to try using that format for your data to see if it will get imported correctly. 

Cheers!

Thanks @Wojciech Wardaszko _HeroCoders_ .  I tried your alternative, but also got an "Empty Name" result.  

@Wojciech Wardaszko _HeroCoders_ & @Prince Nyeche :  The actual error message is " Not a valid JSON OBJECT".  not format.  Does this make a difference?

Prince Nyeche
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.
Sep 25, 2023

Please let us know what the field type of this custom field is. If it's simply a single-line text field, a multiline text field or a message custom field. 

Here's what made it work finaly:

  • one column per acceptance criteria
  • this format for the value in the cell needs to be like this:  
  • Acceptance criteria formula 2.png
  • Example:  Acceptance criteria formula.png

Suggest an answer

Log in or Sign up to answer