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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,373
Community Members
 
Community Events
176
Community Groups

Jira- Bamboo integration for selenium, update jira comments

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

0 votes
Bill Carreon Atlassian Team May 03, 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

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events