Icon
Join thousands of Atlassian users for an unforgettable week of knowledge sharing, product training, networking, and fun. Atlassian Summit is Oct 10 - 13 in San Jose, CA – Register soon before tickets sell out.
Icon
Maintenance Notice: answers.atlassian.com will undergo maintenance on 24 Sep 2016, from 22:00 - 07:00 UTC. During this maintenance window, the service may be intermittently unavailable. See our status page for details.
 
2
1
0

I would like to have a sub-task created on the linked JIRA issue when I create a review. Is there any way to do this?

If not, what is the best way to ensure that a code review is completed for an issue before it can be completed?

    CommentAdd your comment...

    2 answers

    1.  
      3
      2
      1

      I'm not sure if you can create a sub-task when you create a review out of the box. I have to poke around a bit on that one.

      However, your second request I know is possible:

      JIRA's workflow allows for a number of built in conditions that allow you to restrict execution of a workflow transition, (i.e. moving an issue from In Progress to Resolved).

      You can have a look at Configuring Workflow and JIRA's built in conditions for more on what's possible, but the two options that might work in your case would be here I think:

      No Open Reviews Condition

      Only allow the transition to execute if no related Crucible reviews are still open against the issue.

      None

      Unreviewed Code Condition

      Only allow the transition to execute if no unreviewed changesets related to the issue exist.

      None

      1. Ben Belchak

        Thanks! I think if I can accomplish #2, I can effectively accomplish #1.

      CommentAdd your comment...
    2.  
      1
      0
      -1

      No problem. Good luck.

        CommentAdd your comment...