How to immediately resolve issues upon creation in onDemand JIRA

We have a scenario for logging issues after they are resolved and I am trying to keep this process as simple as possible.

I have a workflow where the item is created in the "Closed" status and all that is required is a summary and a description (and the project of course). However, when adding a post-function to set the Resolution, i am still getting all issues in "Unresolved" state. Is this documented as the expect behavior because the transition is the "Create" transition?

As we are hosted onDemand, there is no access to scripting to work around this issue.

Thank you for any insight or input

4 answers

1 accepted

1 vote
Accepted answer

Upon further research, I stumbled upon this paragraph in the documentation:

Which specifies that in order to set the Resolution during the "create" transition, you must add an extra post function AFTER your "Update Issue Field" post function for the Resolution field. That extra post-function is "Store Issue".

I have succesfully implemented this in our workflow and it works as advertised.

Thank you for posting this! I needed the same function, and this works perfectly. 


Another option is to create a transition from "Closed" to "Closed" and use Automation to run that transition upon creation. This was my hack before I implemented the above instructions. That transition was more handy as a manual way to set the resolution while I was troubleshooting this ordeal.

0 votes

Yes, it probably is the post-function, it behaves oddly on "create"

Would it be possible to simply add the resolution field to the "create" screen for these scenarios - Jira always sets a resolution if you put it on screen, so it would work (especially if you set the default appropriately)

I have added the resolution field to the create screen and selected the appropriate default. However the resolution field is still not updated upon creation of the issue.. Is there any reason for this not to work as expected?!?

For now I have to leave those issues "Unresolved" until I can either

1/ find a workflow option that sets the resolution upon creation

2/ create a new step in my workflow just for this purpose, which is obviously not the preferred solution

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,067 views 4 9
Read article

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