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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira CLI: addParticipants with runFromCsv doesn't let me set participants from CSV file

acli --action runFromCsv --file participants.csv --propertyFile participants.prop --common '-a addParticipants' --continue

I'm getting the dreaded:

Parameter error: This function requires a non-blank value for parameter participants.

participants.csv:

request,participants
FOO-1619,"accountID1"
FOO-1620,"accountID1"
FOO-1621,"accountID2"

 participants.prop:

field.request = request
field.participants = participants

So, if I specify --participants on the command line in the common section, it works fine, but of course, I'd have to generate a unique CSV for each participant I'm trying to add.

Does addParticipants support the participants parameter via CSV?

I'm on Cloud, FWIW. Thank you!

1 answer

Hi @Darryl Lee ,

We are from the BobSwift support team. Thank you for raising the request with us.

We would like to inform you that we have created a support request on your behalf in our portal.

Please let us know if you are able to access the below ticket:
https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-5453

Regards,
Amulya Akula

Hi @Amulya Akula _Appfire_  no I can't see the ticket. What email was used to create the ticket? My da****l.l**@gmail.com address?

Hi @Darryl Lee ,

We apologize for the inconvience caused and we have changed to the correct reporter now.

Please let us know if you are able to access the below ticket:
https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-5453

Also find the below answer:

  1. Create a CSV file with the below parameters and place the file in CLI Client path (runfromcsv.csv is been used in this example)
    screenshot-1.png
  2. Ensure to update the acli.properties file with correct credentials.(i.e, token site details, etc.,for more info refer to link: https://bobswift.atlassian.net/wiki/spaces/ACLI/pages/972292262/Getting+Started+with+Configuration+for+Mac+and+Linux)
  3. Execute the below action:
    acli --action runFromCsv --file runfromcsv.csv --common '-a addParticipants' --continue
    
  4. The desired output is shown below on terminal
    Run: --request "AS1-1" --participants "Manisha Kharga" -a addParticipants
    Participants added.
    
    Run: --request "AS1-3" --participants "Raja Seemakurthi" -a addParticipants
    Participants added.
    
    Run completed successfully. 2 actions were successful from file: /Users/Downloads/Confluence/CLI_9.x/9.x/runfromcsv.csv
  5. Please find the output on the Jira UI .

    In case of any issues, please append --debug to the below action and share the debug logs.
acli --action runFromCsv --file runfromcsv.csv --common '-a addParticipants' --continue --debug

Regards,
Amulya Akula

Hey @Amulya Akula _Appfire_ thank you. Can you please reattach screenshot-1.png? It didn't come through.

Or you could copy-paste what the contents of your runfromcsv.csv looked like.

And yes, I can see the ticket now. I guess if we resolve things here, I'll close it.

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

172 views 0 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you