Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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?

2 answers

1 accepted

5 votes
Answer accepted

Hi Nicklas,

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

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.

I found there may be an ordering need. I was attempting to Assign to a user and set the resolution. I found that the Set assignee needed to be before Create and Set the resolution needed to be after Set status and store update followed that. My post went as:

  1. Set assignee
  2. Create the issue
  3. Set issue status
  4. Set Resolution
  5. Store Update
  6. Re-index
  7. Fire issue created

 

Hope this helps.

Oh, it sure helped! Thank you!

This order of operations did the trick for me. Thank you !

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you