Hi,
I know that we can obtain the filed value one at a time. Is there a way to get multiple values in one command?
jiracli_prod --action getFieldValue --issue "JIRA-1234" --field "Assignee"
jiracli_prod --action getFieldValue --issue "JIRA-1234" --field "Assignee" --field "Created" --field "Reporter" --filed "Project"
Or
jiracli_prod --action getFieldValue --issue "JIRA-1234" --field "Assignee, Reporter, Project"
Thanks,
Ieng
Hi @Ieng Lao,
Thank you for submitting your question with us!
You can display multiple field values using the runFromCsv action. Please use the below sample command to get multiple field values of an issue.
--action runFromCsv --common "--action getFieldValue --issue "JIRA-1234" " --file valuelist.csv
In the CSV file, mention the field names that you wish to display as shown below (mention each field attribute in a new line followed by "field").
valuelist.csv
field
Project
Created
Assignee
Reporter
In the importer.properties file you have to mention the value as shown below.
importer.properties
field.Key = issue
Note: Kindly place the CSV file and the importer.properties file in your CLI folder. Also please follow the steps for How to use runFromCsv page for further information.
If you are facing any issues please provide us the debug logs by appending --debug to the action and also provide us the action which you are trying to execute.
Thanks,
Reshma
Hi @Ieng Lao,
Thank you for submitting your question with us!
You can display multiple field values using the runFromCsv action. Please use the below sample command to get multiple field values of an issue.
--action runFromCsv --common "--action getFieldValue --issue "JIRA-1234" " --file valuelist.csv
In the CSV file, mention the field names that you wish to display as shown in the below screenshot (mention each field attribute in a new line followed by "field").
valuelist.csv
In the importer.properties file you have to mention the value as shown in the below screenshot.
importer.properties
Note: Kindly place the CSV file and the importer.properties file in your CLI folder. Also please follow the steps for How to use runFromCsv page for further information.
If you are facing any issues please provide us the debug logs by appending --debug to the action and also provide us the action which you are trying to execute.
Thanks,
Reshma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online 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.