Hi
We use a cascading field in JIRA and it is set as required. We need to create 100s or more test cases via the CLI
We have the following csv to import
action,project,type,summary,assignee,reporter, customfield_10133,asCascadeSelect
createIssue,VTP,TestCase,deleteme,jon.smith,jon.smith,15486,15487
I have tried commas, quotes, etc.
ID | CUSTOMFIELD | CUSTOMFIELDCONFIG | PARENTOPTIONID | customvalue | |
15486 | 10133 | 10163 | NULL | File Menu | |
15487 | 10133 | 10163 | 15486 | Symbols > New... | |
15488 | 10133 | 10163 | 15486 | Symbols > Load... |
Cascade select types are a bit of pain. There are 2 options for this. If you have any problems, open a support issue at JIRA Command Line Interface.
1. Use --common "--asCascadeSelect" on runFromCsvwith something like
action,project,type,summary,reporter,field,values createIssue,VTP,TestCase,deleteme,john.smith,customfield_10133,"15486,15487"
2. Use --common "--asCascadeSelect" on runFromCsvwith something like
action,project,type,summary,reporter,field,values,issue createIssue,zjiracli,task,deleteme,admin, setFieldValue,,,,,customfield_10133,"15486,15487",@issue@
Oops - I was having some cut/paste issues with the editor :(. That was extraneous data - you don't need (and shouldn't have) the custom field in the header line. I fixed the reference. Good job in getting it working anyway!
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.