How to a resolve an issue with a smart commit such that a resolution is also set?

If I #resolve an issue in a commit, the issue status is set to closed, but the Resolution field is left as "Unresolved".

How can I make it so that when an issue is resolved via a commit, it's resolution is set to something sane? 

 

Thanks,

Brett

 

2 answers

Hi Brett - 

This likely has to do with your JIRA workflow rather than the Smart Commit itself. I would guess that the #resolve transition in your workflow doesn't actually trigger a change in the workflow for that project.

Also - note that your workflow might have multiple transitions. 

Adam

Look at the transition to closed.

Click on triggers and select the trigger you need for the commit and configure as needed.

Add a post-function to set the resolution field using the Update Field function.

Chris

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

435 views 0 8
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