0

I am trying to Complete a Sprint for our JIRA Project. And It tells me that all the issues are incomplete. On diving deeper I found out that even though the status for the issues is "Resolved" their Resolution field says "Unresolved". I read that we can Add "Post Functions" to transitions but I am not able to find the field. All I can see is a "Properties" tag, which does not allow me to add a Post function anywhere. Please help me what should I do to fix this, since I will be unable to close the sprint.

ichthyocentaurs
  • 2,173
  • 21
  • 35
  • Is the Resolution field present on the screen associated to the transition that leads to the "Resolved" status? – Fabio says Reinstate Monica Mar 21 '16 at 09:21
  • How do I check that? – ichthyocentaurs Mar 21 '16 at 09:22
  • You must open the workflow used for that project and issue type. Then you must check the transition from the previous state to "Resolved". There you will find "Transition View:" followed by the name of your screen. Click on that. – Fabio says Reinstate Monica Mar 21 '16 at 09:24
  • Cant find it -> I Go To Adminitration - Issues - Workflow Schemes -> Where I see the option to Edit/Copy a Scheme associated with each Issue Type. I dont see "Transition View" either in Diagram View or in the Text View in Editable mode. – ichthyocentaurs Mar 21 '16 at 09:32
  • No, the workflow scheme is a different thing. Try this: go to Administration, Projects, find your project, then click on "Issue Types" (by the way, I'm still on Jira 5.2.11, so it might be different if you have another version). There you can click on the Workflow for your issue type. Or, from the Workflow schemes, just find the one assigned to your project, and check the mapping between your issue type and workflow, and click on that workflow. – Fabio says Reinstate Monica Mar 21 '16 at 09:41
  • Yes, my state matches. The problem is I need that when the user Moves an Issue to field status "Resolved" the issue field "Resolution" should be marked as "Done" – ichthyocentaurs Mar 21 '16 at 10:01

3 Answers3

1

In JIRA an issue is only resolved when it has a value in the resolution field. Even if the issue status is 'Resolved' or 'Closed' it won't matter if the resolution field does not have a value.

Unfortunately this means that if you play around with your workflow it is possible to create transitions to 'Resolved' or 'Closed' that do not add a value to the resolution field. When you do this it is easy to end up with issues with a status of 'Resolved' or 'Closed' that aren't really resolved and these will stop you completing a sprint.

A simple workaround to this problem is to fix your workflow. Then you re-open the issues that are causing a problem and then resolve them again.

The workflow can be fixed in two ways:

Make sure the transition to 'Resolved' or 'Closed' is associated with the 'Resolve Issue Screen'. You do this by editing the workflow, selecting the transition and then editing it.

The other method is to add a post function. Once again you edit your workflow and select the transition. Once selected you should see a box of information that includes 'Properties', 'Triggers', 'Conditions', 'Validators' and 'Post Functions'. If you click on 'Post Functions' you will be able to add a new post function that updates the resoultion field with a value (it doesn't matter what the value is).

This Atlassian page explains more about advanced configuration of workflows

Barnaby Golden
  • 4,176
  • 1
  • 23
  • 28
0

You can do that from Workflow edit menu. You have to edit transition configuration adding a post function called: "Set Field Value to constant or Groovy expression"

So you add this function to the Resolve transition, and set it to modify Resolved value to "Done"

regards

Oldskultxo
  • 945
  • 8
  • 19
  • Yes there are loads of links to add a Post Function but the problem is i don't see it anywhere on my jira administration panel. – ichthyocentaurs Mar 22 '16 at 06:15
  • Yeah, sorry. It is provided by this plugin. https://marketplace.atlassian.com/plugins/com.innovalog.jmwe.jira-misc-workflow-extensions/server/pricing It is not expensive, but it isnt free... – Oldskultxo Mar 22 '16 at 07:54
0

Akshat, if you - go to your board, - then to board's configuration (top right corner - Board - Configure) - then select Columns section on the left pane - then check if the rightmost column (called "Done") has the statuses you expect to be ending statuses - then check if [x] Set Resolution checkmark is On?

  • I have a custom definition of the columns, also a custom workflow and workflow scheme as well. But I dont see a checkbox to set resolution anywhere. – ichthyocentaurs Mar 29 '16 at 05:53