[ 
https://issues.apache.org/jira/browse/CASSANDRA-18126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maxim Muzafarov updated CASSANDRA-18126:
----------------------------------------
    Description: 
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 
in the attachments shows how _CASSANDRA-*_ letters are turned on in the commit 
message to an appropriate Cassandra Jira link.

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}

  was:
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:

 !Cassandra Apache Jira Link.png|thumbnail! 

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}


> 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
>            Priority: Normal
>         Attachments: Cassandra Apache Jira Link.png
>
>
> 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 in the attachments shows how _CASSANDRA-*_ letters are 
> turned on in the commit message to an appropriate Cassandra Jira link.
> 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to