Set resolution as a post function on "Create" transition

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

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

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

0 votes
Henning Tietgens Community Champion May 14, 2013

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

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

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"

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

does the reporter has resolve issue permission?

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

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

Hi

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

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

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.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,760 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot