Forums

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

Workflow is inactive, but assigned until restart

Nico March 6, 2025

So generally we're working with project blueprints and only create projects with shared config. In some cases, the projects need individual configs, so we wrote a script in ScriptRunner to do that.

Everything beside workflow works fine. With workflows we have one bug. So generally we get the current workflow scheme and workflows, create a new scheme add new workflows and then assign it to the project. Then we migrate the issues via workflowManager.

The problem here is, that the workflow is assigned to the project, but is shown as inactive. Performing a restart of all pods, fixes this completely, but always restarting is not an good way to fix this.

Is there any way to activate the workflow via ScriptRunner? And how to migrate the "null" issue.

2 answers

0 votes
Carla Ann K. Rowland
Contributor
March 7, 2025

I would double check the api and see which field holds that inactive flag. if it is not readily documented I would open a ticket with Atlassian to help identify it especially if it is not update the the status is not cascading as it should..  Here is a starting point if you haven't already access this documentation: https://developer.atlassian.com/server/jira/platform/rest/v10004/api-group-workflow/#api-group-workflow

0 votes
Carla Ann K. Rowland
Contributor
March 6, 2025

If the workflow is included in the workflow scheme and the scheme is attached to the project it should become active when the issue types are assigned to it. It should not require a restart. image.png

Nico March 7, 2025

yeah this should be the case, but it isn't.. the workflow is assigned and works, but it is marked as inactive, too at the same time..

So when I go to project settings -> workflows and then press the edit pencil i'm redirected to the global admin interface and only in this interface it says "inactive" "used in 1 project", also in the global administration it's at the bottom in the inactive tab, but it's added to a workflow scheme and this scheme is added to a project, but only a restart fixes this...

even the blocking indexing does not help..

Carla Ann K. Rowland
Contributor
March 19, 2025

sorry for the delayed response been on PTO. Since it is not synching I would open a Help desk ticket with Atlassian. It is not something in the settings but in the background, it might be another app setting blocking the update.

Suggest an answer

Log in or Sign up to answer