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? 





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. 


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.



Suggest an answer

Log in or Join to answer
Community showcase
Davin Studer
Published Thursday in Confluence

FUME – A Better Confluence User Macro Editor Experience

...\\.title', editorDiv: 'userMacroEditorDiv', isNew: function(){ return AJS.$('#user-macro-form').prop('name') == 'addusermacro' ? true : false; }, editor: null, isDirty...

42 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot