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

1 votes

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

Ignacio Pulgar Community Champion May 26, 2016

Haha, seems like we are in the same page laugh

1 votes
Ignacio Pulgar Community Champion May 26, 2016

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.

0 votes
Ignacio Pulgar Community Champion May 26, 2016

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?

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

Ignacio Pulgar Community Champion May 26, 2016

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

0 votes

>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 Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

270 views 0 12
Read article

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