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

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

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
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 yesterday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

150 views 0 2
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