We have some workflow convention's for Post-Function & Conditions to be followed while creating wf. However there are multiple people working on creating the workflow's, so it's quite difficult to QC every single WF's that the conventions been followed or not. Therefore i am looking for some kind of scheduler or script function that will verify or match the convention and show the wf's that does not follow the convention.
Manu,
You can try with an standard unit testing framework using a rest client inside each test.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Manu,
This is the way we usually do regression and unit test of jira workflows.
Jira provides a rest api that allows you to execute actions in jira, for example transitions.
When you execute a transition several things get executed:
- Validations
- Conditions
- post functions
You can use the rest api to query the jira instance and validate the execution and desired effect of the logic added to a workflow.
Here you can find the api for transitions:
You can use a standard unit test framework to automate the execution or use a tool like postman.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.