Forums

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

Jira category wasn't accurately changed after workflow status change.

Tena Nuber October 15, 2020

We have mapped workflow statuses in one of 3 Jira categories ( to do, in progress, done). 

So e.g. IN DEVELOPMENT and IN TESTING workflow statuses have both Jira category In progress.  With action TEST NOK , You can transition back from IN TESTING to IN DEVELOPMENT.  Somehow, Category in that case becomes DONE. Even though when you check configuration for mapping to categories it is set up that IN DEVELOPMENT should be categorized into In progress. 

Only RESOLVED, CLOSED, REJECTED are categorized into Done, but somehow when we reopen ticket , Done category is not updated to In progress. 

2 answers

1 accepted

0 votes
Answer accepted
Tom Lister
Community Champion
October 15, 2020

Hi @Tena Nuber 

When you say 're-open' ticket, do you perform a workflow action to reopen?

That should move the issue to the next status as defined by the workflow. If that goes to IN_DEVELOPMENT or IN_TESTING the category will be that defined for the workflow status.

Reading your question, I'm wondering if you are referring to the resolution still showing as done. Unsetting the resolution on re-open has to be done by a workflow post function.

Tom

Tena Nuber October 15, 2020

Hi,  @Tom Lister , actually maybe You are right.  Hmm...  We perform workflow action that is actually called TESTING NOT OK,  and it pushes issues back to IN DEVELOPMENT workflow status. 

Developers do select Resolution :Done when moving issue from IN DEVELOPMENT  into IN TESTING.  Status Done is show in issue detail just next to workflow status ( it has no additional info is it category or resolution  Done). 

If this is Resolution: Done,  how can we remove it once it's added?  So, if testing is not OK, when moving it back to IN DEVELOPMENT what action needs to be done in order to clear Resolution :  Done?

 

Thank You, Tena

Tom Lister
Community Champion
October 15, 2020

Hi

You will need to edit the post functions where necessary to add an action to clear resolution. Use the Update Issue Field post function e.g.

Screenshot 2020-10-15 at 15.03.09.png

We only set a resolution at the end of work and unset if we reopen.

The moving of the ticket from IN_DEVELOPENT to IN_TESTING already implies the development is done. 
If you are setting intermediate resolutions you will need to check all paths through the workflow set/unset.

Tom

Like Tena Nuber likes this
Tom Lister
Community Champion
October 15, 2020

image.png

Status is shown with resolution underneath

Tena Nuber October 15, 2020

 

Where can I find this transition - post function?  It's some kind of new Jira view, that I'm not familiar, probably is Resolution. Looks like:   

jira.PNG

Tena Nuber October 16, 2020

Hi

@Tom Lister , You  are right. New Jira view confused me. It's resolution & postfunction was missing. Looks OK now for new tickets. Thank You. br, Tena

0 votes
Niranjan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 15, 2020

Hi @Tena Nuber ,

AFAIK, category of a status is generic and not configured at workflow level. A status is categorized when it is created and cannot be changed at a workflow level.

Check the statuses associated with transitions IN TESTING to IN DEVELOPMENT. Also check for the statuses in the Statuses page in admin section.

Tena Nuber October 15, 2020

Hi, you can add workflow status into Category ( You have to be Jira admin, it's under  Issue Attributes-> Statuses.  There You can map workflow statuses into one of 3 predefined Jira categories ( to do, In progress, Done).  Everything here is set up correctly e.g. IN TESTING is added to Category In Progress, but on issue detail I have  IN TESTING  with category DONE.  

Suggest an answer

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

Atlassian Community Events