Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

FlexDeploy has out of box integration with Jira, but you can easily integrate with other issue tracking systems. Such third party i ssue issue tracking system integration can be enabled using Java or Groovy implementation.

Go to Issue Tracking Systems page using Administration - Integrations - Issue Tracking Systems menu.

Image RemovedImage Added

Let's look at more details on how to create a custom issue tracking system integration with Flex Deploy. Click Create to implement integration with custom issue tracking system.

...

Method Name

Parameter(s)Return Type

Description

populateTicket

Ticket pTicketvoid

This method should call the issue Tracking System using the ticket number (pTicket.getNumber())   and set the Description and Type

getTicketURL

Ticket pTicketString

This method should constrct construct the URL to access the ticket. (Ex http://<hostname>:<port>/redmine/issues/<issuenumber>.json)

addCommentToTicket

Ticket pTicket,

String pComment

void

Adding pComment to the ticket. The ticket number (pTicket.getNumber()) from Ticket object should be used to get the Ticket and add the comment.

changeTicketStatusTo

Ticket pTicket,

String pStatus

void

Change the status of the ticket to pStatus. The ticket number (pTicket.getNumber()) from Ticket object should be used to get the Ticket and change the status.

getTicketStatus

Ticket pTicketStringGet the current status of the ticket. The ticket number (pTicket.getNumber()) from Ticket object should be used to get the Ticket status.

checkConnection


void

This should invoke any status or heath check URL of the issue tracking system to ensure the system is up and running

parseTicketNumberFromChangeLogs

String pProjectName,

List<String> pMessagesToParse,

List<String> pTicketPatternList

Collection<String>

pProjectName - name of the project for which the Issue tracking system is condifuredconfigured

pMessageToParse - list of string from the SCM commit logs

pTicketPatterList  pTicketPatternList  - pattern configured in the project or for the issues tracking system.

Add a custom rule by project to parse the message log string using single or multiple patterns. You can also use a different pattern list. Should return a unique list of ticket numbers

...