Jira Release Report shows Abandoned ticket/code as Unreviewed Code

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

Accepted Answer
1 vote

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.

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 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...

25,997 views 2 7
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