Bamboo REST api does not show artifacts.

When a build is run, artifacts containing statistics are produced by the test suite. However when the REST api is queried it claims that there are no artifacts present. This is not the case - I can browse to them from the Bamboo Dashboard, or fetch them using Curl or Apache-HTTP.

Does anyone have any idea what might be causing this?

2 answers

1 accepted

1 vote

The most common pitfall when querying for artifacts or issues is switching Plan key (PROJECT-PLAN-67) with a Job key (PROJECT-PLAN-JOB-67) in your REST query.

Or mark your artifact as shared.

I'm seeing the same problem and it is because this call only works for shared artifacts in 5.8.1 at least.  Verified by experimentation. 


Prior to sharing



should result in a list of 1 artifact definition but I see the following.  I'm baffled.

This XML file does not appear to have any style information associated with it. The document tree is shown below.
      <artifacts expand="artifacts"><link href="http://builder:8085/rest/api/latest/plan/UTILS-SVNPERM/artifact" rel="self"/><artifacts start-index="0" max-result="0" size="0"/></artifacts>


after Sharing

<artifacts expand="artifacts"><link href="http://builder:8085/rest/api/latest/plan/UTILS-SVNPERM/artifact" rel="self"/><artifacts start-index="0" max-result="1" size="1"><artifact><id>82575483</id><name>Reports</name><location>.</location><copyPattern>svnAcc*.*</copyPattern><shared>true</shared></artifact></artifacts></artifacts>

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 May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,802 views 0 6
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