The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira- Bamboo integration for selenium, update jira comments

Venkatesh R
April 17, 2018

We have a requirement to update the Jira comments with the selenium test results.

Is there any specific plugin for this ?

 

Probable approach:

Using Jira Rest Api:

https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/#creating-an-issue-examples

 

  1. Try to pass the JIRA ticket details as a parameter during the Build
  2. Have a shell script to connect to Jira, this will be one of the Task, during the build process.
  3. Pass the JIRA ID manually for testing script initially, The RM parameter been passed needs to update the ticket.
  4. Going forward we need to check if this can be automated, Jira created triggering the Bamboo builds. https://community.atlassian.com/t5/Jira-questions/Can-JIRA-workflow-actions-trigger-Bamboo-builds/qaq-p/250388

 

  1. But to achieve this as part of CICD, what needs to be done ?
  2. From Bamboo how can we pass the JIRA ID. Usually we can't pass the ID/ user updated field in Bamboo.

 

any suggestion will be appreciated 

 

Thanks

Venkat

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Bill Carreon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 3, 2018

Hi Venkatesh,

The process you’ve described sounds very close to achieving your goal. Though I’d make the following changes:

Pass JIRA ticket details to Bamboo as Bamboo variables.

  • This step would need to be manual to correlate Bamboo builds with the correct Jira issue.
  • Have a Bamboo execute a command task to push the desired test results to the Jira issue
  • I have not been able to confirm that the results could be added to the comments section, though a custom field may suffice.

Associating Jira ID will likely be the only step of the process that cannot be automated, but the other steps should fit nicely into the CICD process.

Regards,

Bill

TAGS
AUG Leaders

Atlassian Community Events