Forums

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

How to create bugs automatically in JIRA when a testcase fails in Jenkins

Aishwarya Srinivasan April 7, 2022

How to create bugs automatically in JIRA when a testcase fails in Jenkins

 

I am currently using testng for automation

 

and use jenkins CI to execute functional testcases

 

i want to know the process of easily filing a bug when we have a failure encountered while testing

2 answers

2 accepted

1 vote
Answer accepted
verraf
Contributor
April 8, 2022

The simplest way is to use the issue creation rest api with which you can control the project in which to create the bug, the fields to populate and possibly the default assignee.

Aishwarya Srinivasan April 11, 2022

thank you- any reference documentation for the same

1 vote
Answer accepted
Mehmet Şirin Usanmaz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 7, 2022

Hi,

You can do this with a jenkins plugin by following the document below.

https://plugins.jenkins.io/JiraTestResultReporter/ 

 

Best Regards,

Mehmet Sirin Usanmaz

Aishwarya Srinivasan April 11, 2022

thank you

Aishwarya Srinivasan April 12, 2022

@Mehmet Şirin Usanmaz 

 

can i set this up in jenkins for functional testing failures (UI side)

i thought this will help for build failure

 

does this also help in filing bugs for functional testcases

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events