Skip to content

rvsoni/jira-maven-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Available goals:

  • create-new-jira-version - creates a new JIRA version
  • generate-release-notes - generates a release notes file based on a velocity template
  • release-jira-version - releases a JIRA version
  • mail-release-notes - send announce mail with release note.
  • transition-issues - transitions issue based on a JQL query

Example plugin definition:

<plugin>
    <groupId>it.peng.maven.plugin</groupId>
    <artifactId>jira-maven-plugin</artifactId>
    <version>1.0.1</version>
    <configuration>
        <serverId>jira-server</serverId>
        <url>https://jira.example.org/jira/ </url>
    </configuration>
</plugin>

Example create-new-jira-version goal configuration:

<configuration>
    <jiraProjectKey>JRA</jiraProjectKey>
    <developmentVersion>${project.version}</developmentVersion>
</configuration>

Example generate-release-notes goal configuration:

<configuration>
    <jiraProjectKey>JRA</jiraProjectKey>
    <releaseVersion>${project.version}</releaseVersion>
</configuration>

Example release-jira-version goal configuration:

<configuration>
    <jiraProjectKey>JRA</jiraProjectKey>
    <releaseVersion>${project.version}</releaseVersion>
</configuration>

Example mail-release-notes goal configuration:

<configuration>
    <smtpHost>localhost</smtpHost>
	<smtpPort>25</smtpPort>
	<smtpUsername>user</smtpUsername>
	<smtpPassword>passwd</smtpPassword>
	<toAddresses>
		<toAddress>[email protected]</toAddress>
	</toAddresses>
	<ccAddresses>
		<ccAddress>[email protected]</ccAddress>
	</ccAddresses>
	<bccAddresses>
		<bccAddress>[email protected]</bccAddress>
	</bccAddresses>
	<fromDeveloperId>foo.bar</fromDeveloperId>
</configuration>

<developers>
	<developer>
		<id>foo.bar</id>
		<name>Foo Bar</name>
		<email>[email protected]</email>
	</developer>
</developers>

Example transition-issues goal configuration:

<configuration>
    <jiraProjectKey>JRA</jiraProjectKey>
    <releaseVersion>${project.version}</releaseVersion>
    <!-- Parameter 0 = Project Key, Parameter 1 = Fix version -->
    <jqlTemplate>project = ''{0}'' AND status in (Resolved) AND fixVersion = ''{1}''</jqlTemplate>
    <transition>Closed</transition>
</configuration>

About

Set of maven plugins for JIRA integration

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%