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

Accepted Answer
2 votes

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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

25,042 views 2 7
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