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

Using artifactDefinitionManager.findArtifactDefinitionsByPlan

carolyn cheng September 5, 2013

I tried to use this api with a correct chain instance or a plan instance, but I always got nothing back. How do I use this function correctly?

2 answers

1 accepted

0 votes
Answer accepted
carolyn cheng September 15, 2013

I have to use artifactDescriptionID to do it.

0 votes
Marcin Gardias
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 8, 2013

This method searches by 'producerJob' field: you need to pass Job instance to this method.

You can also use findSharedArtifactsByChain (latter assumes that your artifact is shared, which probably should be the case if you want to use the artifact in subsequent stages)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events