How to automatically set issue Resolution to "solved" based on workflow status?

Hello,

I'm not very familiar with the Resolution field yet, so I'm wondering if there's a way to automatically set issue Resolution to "solved" based on my workflow status.

When my workflow status is set to "TAREFA CANCELADA" or "TAREFA CONCLUÍDA", the Resolution will be Solved, automatically.

This is my workflow:

Workflow

What would be the correct approach?

Thank you.

1 answer

1 accepted

Accepted Answer
6 votes

Hi Giovanna,

Updating issue field values is best done by adding post functions to transitions that lead to those statusses. In your case do the following:

1) Add a post function 'Update Issue Field' to the 'Cancelar tarefa' transition and set the resolution field to wathever you want

2) Add a post function 'Update Issue Field' to the 'Concluir' transition and set the resolution field to wathever you want

Hope this helps?!

You also want to "clear resolution" on both "Reabrir caso" transitions, but it's the same principle and function as setting the value in Benji's answer

That's correct Nic :-)

Thank you, everyone, that's exactly what I need. How do I add a post function?

Edit the workflow, and click on the arrow that represents the transitions, it will offer you list of options, including post-functions.

Never thought it would be so easy. Thank you very much for your support!

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

20,499 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