passed issue does not transition

Hi,

 

I have created a very simple two step workflow for a project, as you can see in the attachment.  I have associated it with a project, but when I Pass a issue in the project, the status does not automatically transition from To Do to Done.  I have to manually do this, which is not ideal.

 

How can this transition be done automatically?

 

UMworkflow.PNG

5 answers

This widget could not be displayed.

What you mean by "pass an issue"?  And what automation have you set up to do this?

Haha, seems like we are in the same page laugh

This widget could not be displayed.

In my opinion, JIRA workflows are tools for:

  1. optimizing collaborative interactions among people working on phases of the same task
  2. help with reporting

Zephyr test 'executed statuses' are queryable through ZQL (some additional functions to JQL). This is the ZQL reference.

I've never used Zephyr, but I think that transitioning an issue on a test being passed is not a built-in functionality. However, I doubt that such an automation is really useful for any purposes, specially in a two-step workflow.

Consider if you need a JIRA workflow at all.

If you finally decide that you want to use a JIRA workflow anyway, and need to transition many issues of type 'test' to Done, I guess you can:

  1. click on Issues > Search for issues and change to Advanced view
  2. type in the field:

    executionStatus = PASS and status = "To Do"
  3. click enter
  4. click on Tools > all x issue(s)
  5. click on the top-most checkbox to select all issues and click on Next
  6. select 'Transition issues' radio button > Next
  7. select Done > Next
  8. confirm

Up to 1000 issues can be transitioned simultaneously through this bulk change procedure.

Alternatively, you can develop your own solution for automating the transition by using the JIRA REST API.

This widget could not be displayed.

Can you define how do you 'Pass' an issue in the project?

In other words, what action should trigger the automatic transition from To Do to Done?

This widget could not be displayed.

Hi,

 

Firstly, thank you both for your swift replies.  What I mean is that a test (issue) went from Unexecuted to Passed, but there was no transition from To Do to Done.  I haven't set up any automation to do this.  All I've done was create the very simple two step Workflow, and I raised this question because it doesn't seem to be transitioning the Passed test.

 

I'm new to JIRA, so please forgive me if I'm making stupid Newbie mistakes.

 

Thanks,

 

UM

Do you mean you use a tool for Unit Testing and would like to integrate it with JIRA, so that when a test is passed, its linked JIRA task transitions to Done?

If that's the case, what tool do you use?

Yes, that's exactly what I mean.  I'm using JIRA Zephyr for Cloud

This widget could not be displayed.

>What I mean is that a test (issue) went from Unexecuted to Passed,

That's not part of your workflow, so I'm still not sure what you are expecting to happen.  What exactly does a "pass" mean?  What happens to the issue?  What changes?

Once we know that, we might be able to help you automate the transition.  Or, maybe, change the workflow so that the "pass" is actually part of the process, rather than just triggering something.

I'm suing JIRA zephyr for Cloud to write up test cases.  When a test case is changed from Unexecuted to Passed, I'd like for it's workflow to change from To Do to Done.

 

Apologies for being out of my depth...

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

275 views 1 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