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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?!?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.