Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Currently (as of v3.6), this is not possible out-of-the-box yet. However, with some minor customization, this can be already be achieved as depicted in these ScriptRunner-related instructions.

Depending on the use case, this may be quite simple or a little more complex to implement.

...

  • you just want to trigger a CI job, period; this job may be totally unrelated to the issue from where you triggered it
  • what the CI job will do, including if it will report the results back to Xray or not, is not relevant

Image Removed




For most CI tools, this only requires that you perform some HTTP request passing the CI job as an argument, somehow.

...

Examples

Trigger a CI job and report back to the current issue

...

  • you want to trigger a CI job and report back the results to the current issue (e.g. Test Plan)
  • the tests that will run are unrelated with the caller issue; it's up to the logic built into the CI job to decide which tests to run


Image RemovedImage Added


"Jenkins Integration for Jira", "Automation for Jira", "ScriptRunner" apps can be used to implement this scenario.

...

Trigger a CI job for the selected tests and report back to the current issue

...

  • you want to trigger a CI job and report back the results to the current, caller issue (e.g. Test Plan, Test Execution)
  • the tests that you want to run are the automated ones present in the caller issue (e.g. Test Plan, Test Execution)


Image RemovedImage Added


This scenario, though feasible, is a bit more complex for two reasons:

...

"ScriptRunner" app can be used to implement this scenario.

Examples

References