Forums

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

How can I delete or add transition to a workflow step when the buttons are inactive?

Yura Hayrapetyan
Contributor
October 20, 2022

I copied an active workflow. I want to edit this copy. One of the step's buttons to add or delete transitions disappeared, "Add outgoing transition" "Delete outgoing transitions" buttons are inactive. How can I add a transition then

Screenshot 2022-10-20 at 16.08.13.pngScreenshot 2022-10-20 at 16.21.32.png

2 answers

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
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 20, 2022

The "delete" button is inactive because you haven't got anything to delete.

The "add" button is because there's a long-standing and annoying bug that Cloud inherited from Server when their code-bases forked.  It's been fixed in Server, but not Cloud.

The bug is that you can't add transitions to a step (status) that does not already have one.

This only occurs in the draft function, the main workflow editor does not have this problem.

To get around it, you have to make the workflow you are editing "inactive", so that it does not use the draft editor.  The best way to do that is actually not making it inactive, but taking a copy of it, editing the copy, and then associating the new workflow everywhere the not-editbale one is currently used (then you can delete the old one)

Yura Hayrapetyan
Contributor
October 21, 2022

Hi @Nic Brough -Adaptavist- thanks for your message. The problem persists in the main workflow as well it is not only in draft. Also, if you copy an active workflow the copy will go to "Inactive" list in any case, so the solution you suggest cannot be reproduced

Nic Brough -Adaptavist-
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 21, 2022

Um, yes, that's what I said.

You need to copy the workflow (or create a new one, but that's more work than copying)

The copy will be inactive because it's not used by any projects. 

You then edit the copy.  Because it is inactive, the editor will allow you to add transitions.

Then you replace the old workflow with the copy in the workflow scheme(s), making the new one active.

Yura Hayrapetyan
Contributor
October 21, 2022

This is exactly what I have done @Nic Brough -Adaptavist- and it still does not work. The screenshots I have attached replicate the exact case 

Vaishali Patil
Contributor
October 21, 2022

@Yura Hayrapetyan I did it yesterday using the same approach that Nic has outlined.

I land in this situations now and then. The only irritating thing about it is coming up with a new name. Typically, I do it twice just to keep the name on the workflow.

Nic Brough -Adaptavist-
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 21, 2022

Your second screenshot show you editing a draft of an active workflow, not an inactive one (the copy I've suggested). 

0 votes
Yura Hayrapetyan
Contributor
October 26, 2022

thanks @Nic Brough -Adaptavist-  , resolved

Suggest an answer

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

Atlassian Community Events