Is there a way to upload multiple files to a review at once? [CRUC-1702]

I am currently working on a project for Rockwell Collins and we have a csv file of about 10,000 files that need to be reviewed. I am hoping to find a way to attach multiple files to a single review through this csv file. Is there a way to upload the files with this csv?

4 answers

0 vote

Hi Rhys,

I'd like to make sure we're on the same page. Are the following assumptions right?

  • You have a bunch (10k) of files on your storage
  • You have a single CSV file containing paths of all the files (10k entries)
  • You'd like to add all the files to a single given review as plain attachments

Regards,

Mikołaj Żyromski (Atlassian)

 

Yes that is correct. Attaching them all to one review is not required. If it is easier to split it up into 50 reviews each with 200 files that would be fine too.

Thanks,

Rhys

0 vote

Hello again,

I guess with a bit of scripting you could go through your CSV, extract file paths and call https://docs.atlassian.com/fisheye-crucible/latest/wadl/crucible.html#rest-service:reviews-v1:id:addFile REST endpoint to add those files to a given review. If you'd like to split the files over several reviews, you could run it in the loop (creating a review if needed by means of https://docs.atlassian.com/fisheye-crucible/latest/wadl/crucible.html#rest-service:reviews-v1).

Best Regards,

Mikołaj Żyromski (Atlassian)

Alright, thanks for your help

Rhys

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Color tables for a shiny Confluence page

...; ## Developed by: Alana Fernando ## Shared with love ## @param style:title=style type|type=enum|required=true|desc=Choose a style.|enumValues=Style1,Style2,Style3,Style4,Style5 ## @param alignment:title...

141 views 8 10
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you