Automate change Status Jira tickets for specific release

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

Parameter

type

describe

Parameter

type

describe

BugfestEnv

list<string>

Bugfest environment: Nolana, Orchid, Pre-Orchid, Morning-Glory 

Release

string

Name of Release that you are going to use.

JiraTaskStatus

string

Current status of jira task

NextJiraTaskStatus

string

Future status of jira task that you want to moved.

Comment

string

Comment 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