do you have any idea on how to capture the JIRA Issue IDs that gets linked in a bamboo build number?

srinathdh November 10, 2017
do you have any idea on how to capture the JIRA Issue IDs that gets linked in a bamboo build number?

2 answers

1 vote
robhit
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 10, 2017

I am not quite sure what is the requirement here, could you please rephrase your question with an example?

0 votes
srinathdh November 11, 2017

For each build jira issues has been attached and it will be display in issues tab on the bamboo builds we want to capture those jira I'd and tasks in text or csv file is this possible

robhit
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 13, 2017

refer bamboo REST API doc - https://docs.atlassian.com/bamboo/REST/5.5.0/#d2e757

 

/plan/{projectKey}-{buildKey}/issue/{issueKey}

srinathdh November 16, 2017

Thanks Rob hit I am able to see the jira as issue key and jira summary is there any way to download those two values alone if that is done we are good could you please help us

robhit
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 21, 2017

How about using below REST API:

curl -X GET --user username:password -H 'X-Atlassian-Token: no-check' "http://localhost:8085/rest/api/latest/result/PF-AT-16?expand=jiraIssues"

Where "PF-AT-16" is the plan key and build number.

The above will give you the Jira issues linked to the build number.

Rob Huijben August 5, 2021

Mind that HTTP basic authentication with username and password has been deprecated. You should use a personal access token as a Bearer credential in an HTTP Authorisation header.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events