Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to update test results in TM4J from jenkins automation run?

Question: I want to update my test case results (already created in TM4J ) after my automation run finish (scripts created using Selenium and Java, Jenkins job)


1. I have automation suite created using Selenium, Java using Maven and TestNG.

2. I have jenkins job running the automation suite. In jenkins job we are using  "Pipeline scripts from SCM" to generate the report and we use a custom format report to publist the report in a communication channel.


What I am trying to achieve?

If suppose I have 10 test cases automated, I want to update the results of those 10 test cases in TM4J based on the execution result meaning if my 7 scripts pass and 3 failed I want to update 7 test case results as Pass and 3 as fail in TM4J.

What I have done so far:

I read few links and I have added Test Management for Jira plugin to Jenkins. I have pipeline code to generate the test results in the json file as part of my jenkin file Post build action. How can I read this json file to publish the test case results in TM4J in this automation.  Any help will be really appreciate.

1 answer

did you find an answer to your question?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

How we use Jira Service Management for our recruitment process! - Part 2

It is never about setting up a process and being done with it. Rather, the focus should always be on optimizing it for the best outcomes. Thus, we didn’t stop at setting up JSM for our recruitment pr...

187 views 0 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you