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

This widget could not be displayed.

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

https://confluence.atlassian.com/display/JIRA/Advanced+workflow+configuration#Advancedworkflowconfiguration-SpecialCases

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.

This widget could not be displayed.

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)

This widget could not be displayed.

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?!?

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

72 views 1 0
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