It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

6 votes
Answer 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

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
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you