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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

110 views 0 6
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