Adding a workflow to screen


I am testing out using jira for test case management. For this purpose I have created two screens. Test Case Details and Test Run.

I then would like to have Workflow Actions of Open, Accepted, Rejected, Obsolete for the test case actions.

And I would like to have workflow actions of Not Run, Pass, Failed for the test run screen.

I am usiing Jira v4, is this possible to do? I do not see where I can add a specific workflow to a screen. I can add a specific workflow to a project but this does not do what I would like.



4 answers

terminology aside I'm pretty sure the answer is yes you can.

To me it sounds like we are talking about issue types. As in "I have a test plan and I want to run an iteration of it" so "Test Case Details" is the issue type and "Test Run" is a sub-task. each can be assigned their own workflow with the statuses you require.

Hi @Ronan, I'm not sure if I understand what you are trying to achieve, but in Jira it's the opposite of what I did understand.

You can have a screen for every transition inside the workflow, and in this transition you can configure validations, conditions, post-functions.

Maybe you won't achieve what you search from this point of view you are explaining, but the workflows are very customizables so I'm sure there's a solution from other point of view,

Hey RC, you may want to further elaborate on the Test Case Details and Test Run whether they are issue types which mentioned by Justin. If they are the issue types, it should be possible with the use of issue type screen scheme and workflow scheme.

Those schemes allow you to associate different screen and workflow to different issue types.

hi thanks guys,

yes i have created a new issue type called "Test Case Details" and then a sub-issue type called "Test Run". The idea being that the test case details contains the info about the test case. and the test run being an instance of this test case against a specific version.

This much seems fine, i have created two screens (one for test case details and one for test run) both containing custom fields. The Test Run can be created as an normal issue (by clicking create issue and selecting Test Case Details) and the test- run can be created by clicking Create sub-task when viewing a created test case details issue.

Within each of these types, by default the available workflow actions are "start progress", "resolve issue", close issue". I would like to change this so that the Test case details page has options such as "Accepted", "rejected", "obsolete". and the test run has options "Fail" "Pass" "Not Ran"

I am having diffculty figuring out how i can do this. Any advice is greatly appreciated.

I think you are conflating workflows and screens together. They are separate entities.

  • The workflow is completely independent of screens and is driven by the current status of an issue. The workflow in use is determined by your project and issue type (via the "workflow scheme").
  • Screens are how you interact with issues. The screens themselves are simple lists of fields that say "when a user needs screen X, these are the fields to work with". There are four basic uses of screens - Create, Edit, View and transitions.

You said originally "I do not see where I can add a specific workflow to a screen.". This is because you do not. Screens do NOT determine workflows. You tell Jira that "issue type X uses workflow Y" and "issue type Y uses a set of screens called Z". Separately.

It sounds to me like you need to look at your workflow scheme. Create a new workflow for your test types, then go into the workflow scheme and associate that workflow with issue type "test run".

Suggest an answer

Log in or Join to answer
Community showcase
Louis De Jaeger
Posted Thursday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

187 views 12 3
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot