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

This widget could not be displayed.

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

This widget could not be displayed.

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
Posted Tuesday 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...

226 views 1 3
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