You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2022/12/19 23:22:00 UTC
[jira] [Created] (CASSANDRA-18126) Add to the IntelliJ Git Window an issue navigation link to Cassandra's Jira
Maxim Muzafarov created CASSANDRA-18126:
-------------------------------------------
Summary: Add to the IntelliJ Git Window an issue navigation link to Cassandra's Jira
Key: CASSANDRA-18126
URL: https://issues.apache.org/jira/browse/CASSANDRA-18126
Project: Cassandra
Issue Type: Task
Reporter: Maxim Muzafarov
Assignee: Maxim Muzafarov
It is possible to navigate from the IntelliJ IDEA Git window to a corresponding Cassandra issue, the Apache Jira if mentioned in the git message. The example below shows how _CASSANDRA-*_ letters are turned on in the commit message to an appropriate Cassandra Jira link:
!https://files.slack.com/files-pri/T4S1WH2J3-F04FW0ZCA02/image.png!
We should update the IntelliJ IDEA configuration and make this behaviour a default for the {{ant generate-idea-files}} process.
To achieve this manually you can update the {{.idea/vcs.xml}} file in the Cassandra project with the following:
{code:java}
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
<component name="IssueNavigationConfiguration">
<option name="links">
<list>
<IssueNavigationLink>
<option name="issueRegexp" value="CASSANDRA-(\d+)" />
<option name="linkRegexp"value="https://issues.apache.org/jira/browse/CASSANDRA-$1"/>
</IssueNavigationLink>
</list>
</option>
</component>
</project>
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org