Creating an issue with resolution set from the start

Hello!

I have done some workflows, and they work fine. There is just one thing that's bugging me...

I have at some places used post functions to clear the field Resolution. That works just fine.

However, in one workflow I want to set resolution right when the issue is created (the issue is just to log things which have been found and fixed - even though there was no previous issue for it).

So, I set the post function to set the field Resolution to Fixed - The Resolution of the issue will be set to 1. on the Create(1) transition. (note that there seems to be a bug since it says that the resolution will be set to 1 and not to Fixed even though that was what I selected.

So, having set that and published the draft workflow I create an issue of that type. Sadly, it has a resolution of Unresolved.

Do you have any idea what I'm doing wrong?

1 answer

1 accepted

5 votes
Dieter Community Champion May 11, 2012

Hi Nicklas,

I have found the following to work. You need to store the update issue value after you create the issue

Dieter Community Champion May 11, 2012
Great to hear! Please consider accepting answers when they are helpful ...

Thanks! That did the trick!

Thanks for the information. This is still the case in JIRA 6.2 also.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

187 views 1 17
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