Forums

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

I want to change the status of defect while creating Issue,defect ?

prajakta.b.kulkarni January 16, 2019

I have created workflow with default workflow scheme where in I used transition states likes TO Do,In Porgress, Resolved,Open etc

 

But when I try to create the defect /story /issue it show :-

Transition to -->To DO

Transition To->In Progress 

But I want only :To Do, In Progress

2 answers

2 votes
Bastian Stehmann
Community Champion
January 16, 2019

Hi @prajakta.b.kulkarni,

 

welcome to the community.

In the issues, there is the name shown, that you give the transition in the workflow.

So if you want to change that, you need to change the transition name in the workflow.

https://confluence.atlassian.com/jirasoftwareserver/jira-software-server-7-13-documentation-938845020.html

0 votes
Alexey Matveev
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.
January 16, 2019

Hello,

If you have Jira Service Desk, then you can use Jira Service Desk automation to change a status.

Otherwise you would need a plugin.

For example, you could use the Power Scripts add-on:

https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=cloud&tab=overview

You could add a post function to the create issue transition with a code like this:

autoTransition("In Progress", key)
prajakta.b.kulkarni January 17, 2019

I tried adding the above post and then tried creating an Epic but it throws such error ..but the name from 

Start Progress -->In Progress

Close Issue -->Closed

Resolve Issue -->Resolved

 

I want only to display the right end fields

XSRF Security Token Missing

Jira could not complete this action due to a missing form token.

You may have cleared your browser cookies, which could have resulted in the expiry of your current form token. A new form token has been reissued.

Request URL: /secure/WorkflowUIDispatcher.jspa

The original input has been captured and you can retry the operation.

Sorry, but any file attachments in the original input will be lost.

Alexey Matveev
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.
January 17, 2019

Did you put the post function as the last post function in the list of post function for the create transition?

prajakta.b.kulkarni January 20, 2019

Hi Alex,

I am not able to follow the resolution given by you. Could you please give details steps.

Problem Statement:-

In a newly created workflow we give Transition names for eg. Start Progress, Resolve issue etc. Now when we create a story/task/epic we see the status as below:-

Transition to -->To DO

Transition To->In Progress

Now the question is, is the above view proper. Or the phrase "Transition to -->" should it really appear. If the screen is standard/as designed in Jira with phrase "Transition To-->" then we will not worry. But if this phrase should not appear then we want to resolve and remove it. Please help me in resolving the above issue today.

Ajit Rajput
Contributor
January 22, 2019

The phrase "Transition To -->" is not standard Jira deaign, but there could be some issue with your workflow transition naming. 

When an epic/story is created, the workflow button should display just the transition name i.e. "Start Progress", whereas the epic/story status should show the current workflow state. 

If you can attach screenshots, it would be useful to check and suggest. 

Suggest an answer

Log in or Sign up to answer