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

How to retrieve Jira Details in Bamboo Deployment Plugin?

Thanh Nhan Pham April 19, 2018

Hi there, 

I am writing a Bamboo deployment plugin, in which I need to retrieve details from Jira issues (such as URL and related commits).

To retrieve the Jira Issue ID I used this.

deploymentVersionLinkedJiraIssuesService.getJiraIssuesForDeploymentVersion(deploymentVersion.getId());

 

To retrieve jira details, I try to use:

JiraIssueDetails jira = jiraIssueManager.getJiraIssueDetails(project, issue.getIssueKey());

However, all the properties of the return object is null. No exceptions were thrown and the application link between Jira and Bamboo works perfectly and I can see those information on the Bamboo site. 

Does anyone have any idea how I can make this work? 

 

Cheers,

Thanh

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events