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 votes

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 votes

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
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

479 views 0 9
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