PractiTest Discussion Forum

Configure Practitest to automatically create JIRA ticket after the automated run

Hi,

I am trying to create a JIRA bug automatically after the failure.
Here is what I have done:

  1. Import the JIRA Story ID in the requirement.
  2. Link the JIRA ID in my test library requirement (It shows in the Linked Requirements).
  3. The respective JIRA ticket shows the pt_id and displays the linked tests.
  4. Include the test into a test set.
  5. Create a run for the instance from PT API.
  6. For failure scenario, it is not creating a bug in JIRA.

My understanding is PT automatically creates a bug in JIRA if there is a failure. I am looking for guidance to achieve the same.

Note: It takes me to JIRA ticket creation page when I click “Fail & Issue” link manually in my automated run.

Thank you in advance!

Hi Vijay,

Apologies for the delayed reply.

In general we recommend to manually report issues into JIRA in terms of automated runs as well. It allows to eliminate duplicate issues opened automatically by mistake for every failed assertion.

It means that once there are failed test runs of automated tests in PractiTest, someone from the QA team should review them and report issues where it is necessary.

Please feel free to get back to us if you have any further questions, will be happy to review them together.

Thanks,
Christine

Hi Christine,

Thank you for your reply.

I understand the scenario. Just curious, whether we can create a bug in PT and JIRA from the automated run?

Thanks,
Vijay

Hi Vijay,

Apologies for the delay.

At the moment we don’t support this ability.

Best regards,
Christine

Hi Christine,

No problem, thank you for the answer! I really appreciate it.

Thanks,
Vijay

Hi Vijay,

Thank you :slight_smile:

Have a wonderful day!

Thanks,
Christine