Set resolution as a post function on "Create" transition

Mikkel Kragelund Nielsen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2013

Hey

Isen't it possible to update resolution to a specific value durring the "Create" transition.

I have this Post Function to the transition: The Resolution of the issue will be set to N/A.
But created issues still display as: Resolution: Unresolved.

How do I get the resolution to update once the issue is created?

5 answers

1 accepted

3 votes
Answer accepted
Chaithra N
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2013

Hi,

You need to store the update issue value after you set the resolution

Refer the post - https://answers.atlassian.com/questions/54436/creating-an-issue-with-resolution-set-from-the-start

Mikkel Kragelund Nielsen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 15, 2013

Just the post I needed, but could not find. Thanks!

0 votes
Mikkel Kragelund Nielsen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2013

This is how the Post Function looks:

Add a new post function to the unconditional result of the transition.

Creates the issue originally.
— THEN
The Resolution of the issue will be set to N/A.
Edit | Move Up | Move Down | Delete
— THEN
Re-index an issue to keep indexes in sync with the database.
— THEN
Fire a Issue Created event that can be processed by the listeners.
Edit

But Resolution is still "Unresolved" after the issue have been created.

0 votes
Nadir MEZIANI
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2013

Hi

Add new resolution "N/A" then you can set it in the post function

Mikkel Kragelund Nielsen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2013

Already exists otherwise, it could not be chosen as a resolution. Values appear in Select List

0 votes
Udo Brand
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2013

At which position do you have your postfunction? Before Create this issue originally?

Mikkel Kragelund Nielsen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2013

After "Creates the issue originally. "

Creates the issue originally.
— THEN
The Resolution of the issue will be set to N/A.
Edit | Move Up | Move Down | Delete
— THEN
Re-index an issue to keep indexes in sync with the database.
— THEN
Fire a Issue Created event that can be processed by the listeners.
Edit

0 votes
Henning Tietgens
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2013

"Unresolved" means, there is no resolution. So everything is fine?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 14, 2013

Have you made sure the "set resolution" function uses *exactly* the same string as you've got for the N/A option?

Mikkel Kragelund Nielsen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2013

No I wan't resolution to be "N/A". So no issue should be created without a resolution.
(Know its not the normal way to do things.)

I need resolution to NOT be "Unresolved"

Mikkel Kragelund Nielsen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2013

"set resolution" value is chosen from a select list. So it can only be a valid resolution.

Udo Brand
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2013

does the reporter has resolve issue permission?

Suggest an answer

Log in or Sign up to answer