Jira Release Report shows Abandoned ticket/code as Unreviewed Code

David Guinn April 11, 2017

Using the Jira Release plugin in combination of BitBucket, there is the option in the report to display warnings for tickets not following the workflow, such as "Unreviewed code". In our case, we had a ticket and we committed some code into a feature branch for that ticket except during development of the ticket, we decided to kill off that feature and drop it. So we deleted the branch(including on BitBucket) and close the Jira ticket as "Won't Do"(GIT still has history of the commits). Except now the ticket shows up in the Unreviewed Code because there are dead end commits against the ticket and the ticket is "closed".

Is there a way to configure the warnings to not check tickets which are specific statuses, such as "Won't Do", etc?

I suppose we could try to rebase our GIT history or prune the "unwanted" commit and hope the Jira ticket will no longer have the commits. Then if that doesn't work, we'd have to create a fake pull request to a to-be-deleted branch to merge it into to satisfy the warnings.

To reproduce this:
1. Create a Jira ticket and add it to your board
2. Create feature branch for the ticket
3. Commit / Push code to remote against that ticket in a feature branch
4. Delete the branch on remote server (BitBucket)
5. Close the ticket as "Won't Do"
6. The warning will now be listed in the release reports

1 answer

1 accepted

1 vote
Answer accepted
Randy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 24, 2017

If you remove the ticket from the release by clearing the fixVersion field, the error should go away.

There's not much value in listing what didnt make it into a release anyways.

David Guinn April 24, 2017

Talk about over complicating it, thank you for the simple solution.

Suggest an answer

Log in or Sign up to answer