ChainActionSupport#getChainResult() returns null ChainResultsSummary

I want to retrieve Plan result history like in http://localhost:8085/browse/SVNPRJ-SVNPLAN/history

by using ChainActionSupport.

For that purpose, I called the ChainActionSupport#getChainResult() by http://localhost:8085/browse/SVNPRJ-SVNPLAN/test.action?planKey=SVNPRJ-SVNPLAN.

But the method returns null.

What should I do to get a not null ChainResultsSummary instance?

1 answer

1 accepted

0 votes
Accepted answer

You need to use com.atlassian.bamboo.resultsummary.ResultsSummaryManager methods. getChainResult works if you supply a specific chain result as action parameter - otherwise how would it know what to return?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

190 views 4 1
Join discussion

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