Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Set Resolution Programatically

sahan kanuwana September 13, 2017

I saw this post.

https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-resolve-issue-programmatically/qaq-p/547540

However, as mentioned in this post, 

setResolutionObject(<resolution>) never works for me. Do we need to validate with status or transition for this? 

Can someone please share some idea on this.

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 1, 2019

Hello Sahan,

You can configure a post function in your workflow to property set a resolution value in your issue when you transition it to the "Done" Status. These are the steps:

- Navigate to your project > Project settings > Workflows > Click to edit your project workflow(s)

- On diagram mode, click on the transition that leads to the "Done" status (The last status of your workflow)

undefined

- In the right menu, Click post functions > configure the post function Update issue field to set a value for the resolution field

For more information about the resolution field, check this documentation:

How to edit the resolution of an Issue

Let us know if this information helps.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events