Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow transition: how to trigger resolution of task based on this transition

Ephraim_Tekle
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 8, 2020

Here is what my workflow looks like. The issue I have is that I only have To Do, In Progress, and Done. I am not sure where these "categories" are defined. If I look at my issue statuses configuration, I have the open, close, resolved, etc.. 

 

What I want is this, when an issue goes to DONE state, for resolution screen to be shown (and not allow tasks to be in DONE when they are still open). Somewhere there seem to be too many states (b/n category, status, resolution) being tracked and is confusing (I am not new to JIRA). 

 

Screen Shot 2020-04-08 at 4.03.34 PM.png

1 answer

0 votes
Brant Schroeder
Community Champion
April 8, 2020

From working with workflows documentation

Setting the resolution field
In Jira, an issue is either open or closed, based on the value of its resolution field (not its status).

  • An issue is open if its resolution field isn't set.
  • An issue is closed if its resolution field has a value (fixed or can't reproduce, for example).

This is true regardless of the issue's current status (open or in progress, for example). If you need your workflow to force an issue to be open or closed, you will need to set the issue's resolution field during a transition. There are two ways to do this:

  • Set the resolution field automatically via a post function.
  • Prompt the user to choose a resolution via a screen. See Working in text mode for details on this.

You can add a screen to a transition to have the user choose the resolution.  The screen can be selected on the edit transition modal when editing a workflow.  On the transition you will want to add a validator to make that field required so it is submitted with a value.  

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events