Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-18126

Add to the IntelliJ Git Window issue navigation links to Cassandra's Jira

    XMLWordPrintableJSON

Details

    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 your .idea/vcs.xml file in the Cassandra project with the following:

      <?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>
      

      Attachments

        1. Cassandra Apache Jira Link.png
          460 kB
          Maxim Muzafarov

        Issue Links

          Activity

            People

              mmuzaf Maxim Muzafarov
              mmuzaf Maxim Muzafarov
              Maxim Muzafarov
              Aleksey Yeschenko, David Capwell, Stefan Miklosovic
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m