CN112416451A - Method, device and medium for automatically converting issue state based on JIRA system - Google Patents

Method, device and medium for automatically converting issue state based on JIRA system Download PDF

Info

Publication number
CN112416451A
CN112416451A CN202011102330.3A CN202011102330A CN112416451A CN 112416451 A CN112416451 A CN 112416451A CN 202011102330 A CN202011102330 A CN 202011102330A CN 112416451 A CN112416451 A CN 112416451A
Authority
CN
China
Prior art keywords
state
issue
parent
jmwe
conversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011102330.3A
Other languages
Chinese (zh)
Other versions
CN112416451B (en
Inventor
郑宏
杨晶晶
陈凤明
谢健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Centerm Information Co Ltd
Original Assignee
Fujian Centerm Information Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Centerm Information Co Ltd filed Critical Fujian Centerm Information Co Ltd
Priority to CN202011102330.3A priority Critical patent/CN112416451B/en
Publication of CN112416451A publication Critical patent/CN112416451A/en
Application granted granted Critical
Publication of CN112416451B publication Critical patent/CN112416451B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Abstract

The invention provides an automatic issue state conversion method, device and medium based on a JIRA system, wherein the method comprises the following steps: in the development process, adding JMWE postprocessor plug-ins to the postprocessing function of the workflow state conversion ID of the child issue, and adding JMWE verifier plug-ins to the verifier of the workflow state conversion ID of the parent issue; when the workflow state of a child issue is converted, acquiring the number of a parent issue corresponding to the child issue and the state of the parent issue through the JMWE post-processor plug-in, then judging whether a conversion condition is met or not through the JMWE verifier plug-in, and when the conversion condition is met, executing a state conversion operation and automatically converting the state of the parent issue; in the Jenkins automatic construction process, the constructed parent issue number is obtained from the JIRA server through a python third-party JIRA library, and then the state of the parent issue is automatically converted after the construction is finished according to the conversion condition. The invention realizes the automatic execution and conversion of the father issue state in the development and automatic construction process, and accurately reflects the progress of the project in time.

Description

Method, device and medium for automatically converting issue state based on JIRA system
Technical Field
The invention relates to the technical field of computers, in particular to a method, a device and a medium for automatically converting an issue state based on a JIRA system.
Background
JIRA is a project and transaction tracking tool produced by atlas company, and is widely applied to the working fields of defect tracking, customer service, demand collection, process approval, task tracking, project tracking, agile management and the like. There are multiple issue types for the JIRA system, and different issues may correspond to different workflows. The issue type, issue interface field, issue workflow are configurable.
In the actual agile project management, the realization of one issue needs to be realized through the processes of UI (user interface) design, code development, story acceptance test and the like, and finally the on-line issue of the issue is realized. Thus, one implementation of issue is where there is multi-member collaboration. In the existing JIRA system, after the workflow state of a child issue (child task) decomposed by a parent issue is converted, the automatic conversion of the workflow state of the parent issue point is not driven, and the parent issue state needs to be converted manually. In an actual project, such manual processing is too much in operation, which increases the labor cost of the project and results in failure to represent the real progress of the issue in real time.
Disclosure of Invention
The invention aims to provide a method, a device and a medium for automatically converting an issue state based on a JIRA system, which realize the automatic execution of conversion on a parent issue state in the development process and the automatic construction process and timely and accurately reflect the progress of a project.
In a first aspect, the present invention provides a method for automatically converting an issue state based on a jiara system, including:
in the development process, adding JMWE postprocessor plug-ins to the postprocessing function of the workflow state conversion ID of the child issue, and adding JMWE verifier plug-ins to the verifier of the workflow state conversion ID of the parent issue; when the workflow state of a child issue is converted, acquiring the number of a parent issue corresponding to the child issue and the state of the parent issue through the JMWE post-processor plug-in, then judging whether a conversion condition is met or not through the JMWE verifier plug-in, when the conversion condition is not met, the JMWE post-processor does not execute the state conversion operation, and when the conversion condition is met, the JMWE post-processor executes the state conversion operation and automatically converts the state of the parent issue;
in the Jenkins automatic construction process, the constructed parent issue number is obtained from the JIRA server through a python third-party JIRA library, and then the state of the parent issue is automatically converted after the construction is finished according to the conversion condition.
Further, whether a conversion condition is met is judged through a JMWE verifier plug-in, when the conversion condition is not met, the JMWE post-processor does not execute a state conversion operation, and when the conversion condition is met, the JMWE post-processor executes a state conversion operation to automatically convert the state of the parent issue, specifically including:
judging whether the workflow state of the development sub-issue under the parent issue is converted into 'processing' or not through a JMWE verifier plug-in, if not, not executing the state conversion operation, and if so, executing the state conversion operation to automatically convert the state of the parent issue into 'implementation in';
judging whether the workflow state of the development sub-issue under the parent issue is completely converted into 'finished' or not through a JMWE verifier plug-in, if not, not executing a state conversion operation instruction, and if so, executing a conversion operation instruction to automatically convert the state of the parent issue into 'finished to-be-verified';
when the state of a parent issue is 'implementation completion to be verified', judging whether the state of at least one test child issue under the parent issue is 'processing' by a JMWE verifier plug-in, if so, automatically converting the state of the parent issue into 'verification in';
when the state of the parent issue is 'verification in progress', whether the states of all testing children issues under the parent issue are 'finished' through the JMWE verifier plug-in, and if so, automatically converting the state of the parent issue into 'testing finished waiting to be on-line'.
Further, according to the conversion condition, after the construction is completed, automatically converting the workflow state of the parent issue, specifically including:
and when the state of the parent issue is 'testing is finished and waiting for online', automatically converting the state of the parent issue into 'online' after the construction is finished.
In a second aspect, the present invention provides an automatic issue state switching device based on a jiara system, including: developing a state conversion module and constructing the state conversion module;
the development state conversion module is used for adding a JMWE postprocessor plug-in to a postprocessing function of the workflow state conversion ID of the child issue and adding a JMWE verifier plug-in to a verifier of the workflow state conversion ID of the parent issue in the development process; when the workflow state of a child issue is converted, acquiring the number of a parent issue corresponding to the child issue and the state of the parent issue through the JMWE post-processor plug-in, then judging whether a conversion condition is met or not through the JMWE verifier plug-in, when the conversion condition is not met, the JMWE post-processor does not execute the state conversion operation, and when the conversion condition is met, the JMWE post-processor executes the state conversion operation and automatically converts the state of the parent issue;
the constructed state conversion module is used for acquiring the serial number of the constructed parent issue from the JIRA server through a python third-party JIRA library in the Jenkins automatic construction process, and then automatically converting the state of the parent issue after the construction is finished according to the conversion conditions.
Further, whether a conversion condition is met is judged through a JMWE verifier plug-in, when the conversion condition is not met, the JMWE post-processor does not execute a state conversion operation, and when the conversion condition is met, the JMWE post-processor executes a state conversion operation to automatically convert the state of the parent issue, specifically including:
judging whether the workflow state of the development sub-issue under the parent issue is converted into 'processing' or not through a JMWE verifier plug-in, if not, not executing the state conversion operation, and if so, executing the state conversion operation to automatically convert the state of the parent issue into 'implementation in';
judging whether the workflow state of the development sub-issue under the parent issue is completely converted into 'finished' or not through a JMWE verifier plug-in, if not, not executing a state conversion operation instruction, and if so, executing a conversion operation instruction to automatically convert the state of the parent issue into 'finished to-be-verified';
when the state of a parent issue is 'implementation completion to be verified', judging whether the state of at least one test child issue under the parent issue is 'processing' by a JMWE verifier plug-in, if so, automatically converting the state of the parent issue into 'verification in';
when the state of the parent issue is 'verification in progress', whether the states of all testing children issues under the parent issue are 'finished' through the JMWE verifier plug-in, and if so, automatically converting the state of the parent issue into 'testing finished waiting to be on-line'.
Further, according to the conversion condition, after the construction is completed, automatically converting the workflow state of the parent issue, specifically including:
and when the state of the parent issue is 'testing is finished and waiting for online', automatically converting the state of the parent issue into 'online' after the construction is finished.
In a third aspect, the invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method of the first aspect.
The embodiment of the invention has the following technical effects or advantages:
in the development process, a JMWE postprocessor plug-in is added to the postprocessing function of the workflow state conversion ID of the child issue, and a JMWE verifier plug-in is added to the verifier of the workflow state conversion ID of the parent issue, so that the state of the parent issue is automatically converted when the workflow state of the child issue is converted and the conversion condition is met; by acquiring the number of the parent issue through the python third-party JIRA library in the Jenkins automatic construction process and executing the state automatic conversion of the parent issue after the construction is completed, the manual work of processing the issue workflow state in the JIRA system is reduced, the repeated manual work is reduced, the labor cost is reduced, and the progress of the project is reflected more timely compared with the manual process.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
FIG. 1 is a flow chart of a method according to one embodiment of the present invention;
FIG. 2 is a schematic diagram of an improved issue workflow according to a first embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an apparatus according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a medium according to a third embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present description without inventive step, shall fall within the scope of protection of the present application.
The technical scheme in the embodiment of the application has the following general idea:
the design is mainly constructed by continuously integrating a JIRA system, a JMWE plug-in (JIRA workflow extension plug-in) and Jenkins, and the automatic change of the state of a parent task workflow is realized, so that the manual operation labor cost is reduced, and the timeliness of the dot state feedback of a parent story is improved.
Example one
The present embodiment provides a method for automatically converting an issue state based on a jiara system, as shown in fig. 1, including:
in the development process, a JMWE postprocessor plug-in is added to a postprocessing function of workflow state conversion ID of a child issue, and a JMWE verifier plug-in is added to a verifier of workflow state conversion ID of a parent issue; when the workflow state of a child issue is converted, acquiring the number of a parent issue corresponding to the child issue and the state of the parent issue through the JMWE post-processor plug-in, then judging whether a conversion condition is met or not through the JMWE verifier plug-in, when the conversion condition is not met, the JMWE post-processor does not execute the state conversion operation, and when the conversion condition is met, the JMWE post-processor executes the state conversion operation and automatically converts the state of the parent issue;
in a possible implementation manner, determining whether a transition condition is satisfied by a JMWE verifier plug-in, when the transition condition is not satisfied, the JMWE post-processor does not execute a state transition operation, and when the transition condition is satisfied, the JMWE post-processor executes a state transition operation to automatically transition the state of the parent issue, including:
judging whether a conversion condition is met or not through a JMWE verifier plug-in, when the conversion condition is not met, the JMWE post-processor does not execute state conversion operation, and when the conversion condition is met, the JMWE post-processor executes state conversion operation to automatically convert the state of the father issue, wherein the method specifically comprises the following steps:
judging whether the workflow state of the development sub-issue under the parent issue is converted into 'processing' or not through a JMWE verifier plug-in, if not, not executing the state conversion operation, and if so, executing the state conversion operation to automatically convert the state of the parent issue into 'implementation in';
judging whether the workflow state of the development sub-issue under the parent issue is completely converted into 'finished' or not through a JMWE verifier plug-in, if not, not executing a state conversion operation instruction, and if so, executing a conversion operation instruction to automatically convert the state of the parent issue into 'finished to-be-verified';
when the state of a parent issue is 'implementation completion to be verified', judging whether the state of at least one test child issue under the parent issue is 'processing' by a JMWE verifier plug-in, if so, automatically converting the state of the parent issue into 'verification in';
when the state of the parent issue is 'verification in progress', whether the states of all testing children issues under the parent issue are 'finished' through the JMWE verifier plug-in, and if so, automatically converting the state of the parent issue into 'testing finished waiting to be on-line'.
The workflow states such as "in processing", "in implementation", "completion", "implementation completion to be verified", "in processing", "verification in progress", and "test completion to be on-line" are defined according to the actual requirements of the project of this embodiment, and the conversion conditions are configured according to the actual requirements of the project of this embodiment.
In the development process, adding a JMWE postprocessor plug-in to a postprocessing function of the workflow state conversion ID of a child issue, and adding a JMWE verifier plug-in to a verifier of the workflow state conversion ID of a parent issue; when the workflow state of the child issue is converted and the conversion condition is met, the state of the parent issue is automatically converted; the automatic change of the parent issue workflow state is realized, so that the manual operation labor cost in the development process is reduced, and the timeliness of parent task state feedback is improved.
In the Jenkins automatic construction process, the constructed parent issue number is obtained from the JIRA server through a python third-party JIRA library, and then the state of the parent issue is automatically converted after the construction is finished according to the conversion condition.
In one possible implementation manner, automatically converting the state of the parent issue after the building is completed according to a conversion condition, including:
and when the state of the parent issue is 'testing is finished and waiting for online', automatically converting the state of the parent issue into 'online' after the construction is finished.
In other implementations, the workflow state and the transition condition in the issue building process may also be configured according to the actual requirements of the project.
By acquiring the serial number of the parent issue by utilizing a python third-party JIRA library in the Jenkins automatic construction process and realizing the automatic state conversion of the parent issue after the construction is finished, the manual task of processing the issue workflow state in the JIRA system is reduced, the repeated manual work is reduced, the labor cost is reduced, and the progress of the project is reflected more timely compared with the manual process.
Referring to FIG. 2, in one embodiment, the method is performed by a JIRA system, a JMWE verifier plug-in, a JMWE post-processor plug-in, and a Jenkins persistent integration system. The JIRA system workflow is mainly designed for the workflow of the issue, so that the issue can be converted according to the set flow sequence to achieve the purpose of managing the issue. The JMWE post-processor plug-in is mainly used for adding other steps which need to be processed after the issue completes the process state conversion, and the JMWE verifier plug-in is mainly used for verifying specified conditions before the process state conversion of the issue. The Jenkins persistent integration system is mainly used for batch state conversion of designated issue during building execution in the embodiment.
The method comprises the following implementation steps:
1. adding a JMWE post-processor plug-in the post-processing function of the workflow state conversion ID of the child issue, and when the child issue conversion is processed manually, transmitting an operation instruction to the JIRA server by the JMWE post-processor plug-in, wherein the JIRA server realizes the automatic conversion of the workflow state of the parent issue according to the received operation instruction.
2. Adding a JMWE verifier plug-in a verifier part of the workflow state conversion ID of a parent issue, transmitting a condition judgment instruction to a JIRA server through the JMWE verifier plug-in when the state of a child issue triggers the parent issue to change the workflow state, judging whether the condition instruction is met or not by the JIRA server according to the received condition instruction, and performing automatic conversion on the state of the parent issue after the condition is met.
3. The third party JIRA library, using python (a programming language), connects the JIRA server remotely and sends instructions to the JIRA server to obtain the issue ID (number) relating to the same version as the version of the code being built, and converts the workflow status of the corresponding issue by instructions according to the issue ID.
4. An execution shell script (a command language) is added in a Jenkins code construction project, and a specified server is automatically triggered to execute the python script under a specified directory during construction.
The concrete effects are as follows:
1. changing the state of the parent story to 'in-implementation' when any one of the child tasks under the parent story point is in the in-process state;
2. when the development subtask states under the parent story point are all 'completed', changing the parent story state into 'completion to be verified';
3. on the basis of the point 2, when the state of any test subtask under the parent story point is 'in process', changing the parent story state into 'verification in process';
4. when the states of all the testing subtasks under the parent story point are 'completed', changing the state of the parent story point into 'testing completed waiting to be on-line';
5. and after the version is built and released online, changing the state of the parent story point into 'online'.
The method of the embodiment of the invention has the advantages that: 1. the manual processing of the issue workflow state in the JIRA system is reduced, and the labor cost is reduced; 2. the automatic state conversion of the parent issue is realized, and the progress of the project is reflected more timely compared with manual processing; 3. and the parent issue workflow state is processed automatically in batch, and manual repeated work is reduced.
Based on the same inventive concept, the application also provides a device corresponding to the method in the first embodiment, which is detailed in the second embodiment.
Example two
In the present embodiment, there is provided an automatic issue state switching apparatus based on the jiar a system, as shown in fig. 3, including: developing a state conversion module and constructing the state conversion module;
the development state conversion module is used for adding a JMWE postprocessor plug-in to a postprocessing function of the workflow state conversion ID of the child issue and adding a JMWE verifier plug-in to a verifier of the workflow state conversion ID of the parent issue in the development process; when the workflow state of a child issue is converted, acquiring the number of a parent issue corresponding to the child issue and the state of the parent issue through the JMWE post-processor plug-in, then judging whether a conversion condition is met or not through the JMWE verifier plug-in, when the conversion condition is not met, the JMWE post-processor does not execute the state conversion operation, and when the conversion condition is met, the JMWE post-processor executes the state conversion operation and automatically converts the state of the parent issue;
the constructed state conversion module is used for acquiring the serial number of the constructed parent issue from the JIRA server through a python third-party JIRA library in the Jenkins automatic construction process, and then automatically converting the state of the parent issue after the construction is finished according to the conversion conditions.
In a possible implementation manner, the JMWE verifier plug-in determines whether a transition condition is satisfied, and when the transition condition is not satisfied, the JMWE post-processor does not execute a state transition operation, and when the transition condition is satisfied, the JMWE post-processor executes a state transition operation to automatically transition the state of the parent issue, specifically including:
judging whether the workflow state of the development sub-issue under the parent issue is converted into 'processing' or not through a JMWE verifier plug-in, if not, not executing the state conversion operation, and if so, executing the state conversion operation to automatically convert the state of the parent issue into 'implementation in';
judging whether the workflow state of the development sub-issue under the parent issue is completely converted into 'finished' or not through a JMWE verifier plug-in, if not, not executing a state conversion operation instruction, and if so, executing a conversion operation instruction to automatically convert the state of the parent issue into 'finished to-be-verified';
when the state of a parent issue is 'implementation completion to be verified', judging whether the state of at least one test child issue under the parent issue is 'processing' by a JMWE verifier plug-in, if so, automatically converting the state of the parent issue into 'verification in';
when the state of the parent issue is 'verification in progress', whether the states of all testing children issues under the parent issue are 'finished' through the JMWE verifier plug-in, and if so, automatically converting the state of the parent issue into 'testing finished waiting to be on-line'.
In a possible implementation manner, according to a conversion condition, after the construction is completed, automatically converting the workflow state of the parent issue, specifically including:
and when the state of the parent issue is 'testing is finished and waiting for online', automatically converting the state of the parent issue into 'online' after the construction is finished.
Since the apparatus described in the second embodiment of the present invention is an apparatus used for implementing the method of the first embodiment of the present invention, based on the method described in the first embodiment of the present invention, a person skilled in the art can understand the specific structure and the deformation of the apparatus, and thus the details are not described herein. All the devices adopted in the method of the first embodiment of the present invention belong to the protection scope of the present invention.
Based on the same inventive concept, the application provides a storage medium corresponding to the third embodiment.
EXAMPLE III
The present embodiment provides a computer-readable storage medium, as shown in fig. 4, on which a computer program is stored, and when the computer program is executed by a processor, any one of the embodiments can be implemented.
In the embodiment of the invention, in the development process, a JMWE postprocessor plug-in is added to the postprocessing function of the workflow state conversion ID of the child issue, and a JMWE verifier plug-in is added to the verifier of the workflow state conversion ID of the parent issue, so that the state of the parent issue is automatically converted when the workflow state of the child issue is converted and the conversion condition is met; by acquiring the number of the parent issue through the python third-party JIRA library in the Jenkins automatic construction process and executing the state automatic conversion of the parent issue after the construction is completed, the manual work of processing the issue workflow state in the JIRA system is reduced, the repeated manual work is reduced, the labor cost is reduced, and the progress of the project is reflected more timely compared with the manual process.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.

Claims (7)

1. An issue state automatic switching method based on a JIRA system is characterized in that: the method comprises the following steps:
in the development process, adding JMWE postprocessor plug-ins to the postprocessing function of the workflow state conversion ID of the child issue, and adding JMWE verifier plug-ins to the verifier of the workflow state conversion ID of the parent issue; when the workflow state of a child issue is converted, acquiring the number of a parent issue corresponding to the child issue and the state of the parent issue through the JMWE post-processor plug-in, then judging whether a conversion condition is met or not through the JMWE verifier plug-in, when the conversion condition is not met, the JMWE post-processor does not execute the state conversion operation, and when the conversion condition is met, the JMWE post-processor executes the state conversion operation and automatically converts the state of the parent issue;
in the Jenkins automatic construction process, the constructed parent issue number is obtained from the JIRA server through a python third-party JIRA library, and then the state of the parent issue is automatically converted after the construction is finished according to the conversion condition.
2. The method of claim 1, wherein: judging whether a conversion condition is met or not through a JMWE verifier plug-in, when the conversion condition is not met, the JMWE post-processor does not execute state conversion operation, and when the conversion condition is met, the JMWE post-processor executes state conversion operation to automatically convert the state of the father issue, wherein the method specifically comprises the following steps:
judging whether the workflow state of the development sub-issue under the parent issue is converted into 'processing' or not through a JMWE verifier plug-in, if not, not executing the state conversion operation, and if so, executing the state conversion operation to automatically convert the state of the parent issue into 'implementation in';
judging whether the workflow state of the development sub-issue under the parent issue is completely converted into 'finished' or not through a JMWE verifier plug-in, if not, not executing a state conversion operation instruction, and if so, executing a conversion operation instruction to automatically convert the state of the parent issue into 'finished to-be-verified';
when the state of a parent issue is 'implementation completion to be verified', judging whether the state of at least one test child issue under the parent issue is 'processing' by a JMWE verifier plug-in, if so, automatically converting the state of the parent issue into 'verification in';
when the state of the parent issue is 'verification in progress', whether the states of all testing children issues under the parent issue are 'finished' through the JMWE verifier plug-in, and if so, automatically converting the state of the parent issue into 'testing finished waiting to be on-line'.
3. The method of claim 1, wherein: according to the conversion condition, after the construction is completed, automatically converting the workflow state of the parent issue, which specifically comprises the following steps:
and when the state of the parent issue is 'testing is finished and waiting for online', automatically converting the state of the parent issue into 'online' after the construction is finished.
4. An apparatus for automatically switching between issue states based on a JIRA system, comprising: developing a state conversion module and constructing the state conversion module;
the development state conversion module is used for adding a JMWE postprocessor plug-in to a postprocessing function of the workflow state conversion ID of the child issue and adding a JMWE verifier plug-in to a verifier of the workflow state conversion ID of the parent issue in the development process; when the workflow state of a child issue is converted, acquiring the number of a parent issue corresponding to the child issue and the state of the parent issue through the JMWE post-processor plug-in, then judging whether a conversion condition is met or not through the JMWE verifier plug-in, when the conversion condition is not met, the JMWE post-processor does not execute the state conversion operation, and when the conversion condition is met, the JMWE post-processor executes the state conversion operation and automatically converts the state of the parent issue;
the constructed state conversion module is used for acquiring the serial number of the constructed parent issue from the JIRA server through a python third-party JIRA library in the Jenkins automatic construction process, and then automatically converting the state of the parent issue after the construction is finished according to the conversion conditions.
5. The apparatus of claim 4, wherein: judging whether a conversion condition is met or not through a JMWE verifier plug-in, when the conversion condition is not met, the JMWE post-processor does not execute state conversion operation, and when the conversion condition is met, the JMWE post-processor executes state conversion operation to automatically convert the state of the father issue, wherein the method specifically comprises the following steps:
judging whether the workflow state of the development sub-issue under the parent issue is converted into 'processing' or not through a JMWE verifier plug-in, if not, not executing the state conversion operation, and if so, executing the state conversion operation to automatically convert the state of the parent issue into 'implementation in';
judging whether the workflow state of the development sub-issue under the parent issue is completely converted into 'finished' or not through a JMWE verifier plug-in, if not, not executing a state conversion operation instruction, and if so, executing a conversion operation instruction to automatically convert the state of the parent issue into 'finished to-be-verified';
when the state of a parent issue is 'implementation completion to be verified', judging whether the state of at least one test child issue under the parent issue is 'processing' by a JMWE verifier plug-in, if so, automatically converting the state of the parent issue into 'verification in';
when the state of the parent issue is 'verification in progress', whether the states of all testing children issues under the parent issue are 'finished' through the JMWE verifier plug-in, and if so, automatically converting the state of the parent issue into 'testing finished waiting to be on-line'.
6. The apparatus of claim 4, wherein: according to the conversion condition, after the construction is completed, automatically converting the workflow state of the parent issue, which specifically comprises the following steps:
and when the state of the parent issue is 'testing is finished and waiting for online', automatically converting the state of the parent issue into 'online' after the construction is finished.
7. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 3.
CN202011102330.3A 2020-10-15 2020-10-15 Method, device and medium for automatically converting issue state based on JIRA system Active CN112416451B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011102330.3A CN112416451B (en) 2020-10-15 2020-10-15 Method, device and medium for automatically converting issue state based on JIRA system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011102330.3A CN112416451B (en) 2020-10-15 2020-10-15 Method, device and medium for automatically converting issue state based on JIRA system

Publications (2)

Publication Number Publication Date
CN112416451A true CN112416451A (en) 2021-02-26
CN112416451B CN112416451B (en) 2022-11-11

Family

ID=74854609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011102330.3A Active CN112416451B (en) 2020-10-15 2020-10-15 Method, device and medium for automatically converting issue state based on JIRA system

Country Status (1)

Country Link
CN (1) CN112416451B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485916A (en) * 2021-06-21 2021-10-08 上海百胜软件股份有限公司 Detection method, system, device and storage medium based on JIRA code construction
CN113485913A (en) * 2021-06-10 2021-10-08 上海百胜软件股份有限公司 Branch management method, system, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8341590B1 (en) * 2007-12-12 2012-12-25 Accurev, Inc. System for relating workflow status to code component status in a software project
CN104573991A (en) * 2015-01-28 2015-04-29 携程计算机技术(上海)有限公司 Project process management system
CN109582396A (en) * 2017-09-25 2019-04-05 北京国双科技有限公司 A kind of task status processing method, device, system and storage medium
CN110245088A (en) * 2019-06-21 2019-09-17 四川长虹电器股份有限公司 A kind of defect automated verification system and verification method based on Jenkins
CN110717739A (en) * 2019-10-15 2020-01-21 深圳前海微众银行股份有限公司 Workflow issuing method, device, equipment and computer readable storage medium
CN111178729A (en) * 2019-12-24 2020-05-19 国电南瑞科技股份有限公司 Stable section self-adaptive calculation method and system based on parent-child relationship

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8341590B1 (en) * 2007-12-12 2012-12-25 Accurev, Inc. System for relating workflow status to code component status in a software project
CN104573991A (en) * 2015-01-28 2015-04-29 携程计算机技术(上海)有限公司 Project process management system
CN109582396A (en) * 2017-09-25 2019-04-05 北京国双科技有限公司 A kind of task status processing method, device, system and storage medium
CN110245088A (en) * 2019-06-21 2019-09-17 四川长虹电器股份有限公司 A kind of defect automated verification system and verification method based on Jenkins
CN110717739A (en) * 2019-10-15 2020-01-21 深圳前海微众银行股份有限公司 Workflow issuing method, device, equipment and computer readable storage medium
CN111178729A (en) * 2019-12-24 2020-05-19 国电南瑞科技股份有限公司 Stable section self-adaptive calculation method and system based on parent-child relationship

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈晨_软件五千言: "Jira项目管理配置指南(二)—— 工作流配置", 《HTTPS://BLOG.CSDN.NET/PLUTO4596/ARTICLE/DETAILS/104758542》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485913A (en) * 2021-06-10 2021-10-08 上海百胜软件股份有限公司 Branch management method, system, equipment and storage medium
CN113485916A (en) * 2021-06-21 2021-10-08 上海百胜软件股份有限公司 Detection method, system, device and storage medium based on JIRA code construction

Also Published As

Publication number Publication date
CN112416451B (en) 2022-11-11

Similar Documents

Publication Publication Date Title
US7895565B1 (en) Integrated system and method for validating the functionality and performance of software applications
CN112416451B (en) Method, device and medium for automatically converting issue state based on JIRA system
CN103164328B (en) The regression testing method of a kind of business function, Apparatus and system
CN105138386A (en) Logic design verification continuous integration platform based on Jenkins and vManager
Nugroho et al. Comparative analysis of software development methods between Parallel, V-Shaped and Iterative
CN112799782B (en) Model generation system, method, electronic device and storage medium
CN105761058A (en) Multi-type task control method and device in plan management
Ayinla et al. Process waste analysis for offsite production methods for house construction: A case study of factory wall panel production
KR101252358B1 (en) Apparatus and method for testing plc command
CN110516277A (en) Quickly modeling, emulation mode and system, computer equipment, storage equipment
CN109871313A (en) Code check method and device based on specific time
CN114897511A (en) Service flow scheduling processing method and system based on RPA technology
CN110851516B (en) Host operation control system and method
CN112183982A (en) Workflow creating method and device, computer equipment and storage medium
CN112262350A (en) Block-based prediction for manufacturing environments
CN110705823A (en) Production process route configuration method
CN116700938B (en) Flow processing method of transaction approval business, electronic equipment and storage medium
CN116795378B (en) Method and device for arranging and executing process based on code dynamic compiling
CN117827578A (en) Inspection task method for automatically creating multi-resource pool based on service tree and inspection task template
CN111208993A (en) Process data analysis processing system
CN116011420A (en) Supervision report generation method and system based on intelligent flow robot
CN116562805A (en) DevOps platform construction method, device, equipment, readable medium and DevOps platform
CN116303068A (en) SOA architecture-based unit testing method, device, equipment and storage medium
Ahuja et al. A model-driven tool for telecom service development process
CN116703138A (en) Flexible workflow system oriented to personalized product customization and automatic arrangement method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant