Icon
Maintenance Notice: The answers.atlassian.com site will undergo maintenance from 01:00 - 02:00 UTC on 30 July 2015. During this maintenance window the site will be offline and unavailable. We apologize for any inconvenience. Hide
 
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
        CommentAdd your comment...