Automate change Status Jira tickets for specific release

This article describes how to move Jira tickets form status "Awaiting deployment" to "In bugfix review" depend on deployed service version on bugfest and version in Jira ticket.


Parameters

Parametertypedescribe
BugfestEnvlist<string>Bugfest environment: Nolana, Orchid, Pre-Orchid, Morning-Glory 
ReleasestringName of Release that you are going to use.
JiraTaskStatusstringCurrent status of jira task
NextJiraTaskStatusstringFuture status of jira task that you want to moved.
CommentstringComment for jira task after moved to next Jira status.


Steps

  1. Go to Jenkins
  2. Navigate to Racher -> Automation -> Move-Jira-Tickets-depend-on-deployed-version-of-module
  3. Select parameters
    1. BugfestEnv - Select bugfest environment by default Nolana;
    2. Release - Name of Release you can find in Jira ticket in field "Release" by default "Nolana (R3 2022)";
    3. JiraTaskStatus - current status of Jira ticket can be founded in field "Status" in Jira tiket by default "Awaiting deployment"; 
    4. NextJiraTaskStatus - future status of Jira ticket can be founded trough "Workflow" in Jira ticket by default "In bugfix review";
    5. Comment - Comment that you want to leave after moved status task by default "Moved status to ${NextJiraTaskStatus} from status ${JiraTaskStatus}" (example how it looks "Moved status to In bugfix review from status Open");
  4. Click Build button;
  5. Wait for completion.


Job flow

Example