The configuration dialog for the Jira plugin has a new edit control where you can specify the project key.
Project key can be blank, in which case only $(Value) is passed to the server. This is the behavior of the initial version of the plugin. For example: link configuration project key: <blank> link definition keyword: jira;bug Example source comment: jira=J0001 Targeted url: myJira.myCompany.com/browse/J0001 Example source comment: bug=J0002 Targeted url: myJira.myCompany.com/browse/J0002
Project key can be $(Keyword) in which case the keyword match in the source link instance is passed to server. This is the default value. For example: link configuration project key: $(Keyword) link definition keyword: jtp;jt2p Example source comment: JTP-001 Targeted url: myJira.myCompany.com/browse/JTP-001 Example source comment: JT2P-003 Targeted url: myJira.myCompany.com/browse/JT2P-003
Finally, Project key can be any other value and should match the project key defined in the Jira project. Use this when the keyword used in comments no longer matches the project key defined in Jira. For example: link configuration project key: JTP link definition keyword: oldkey;jtp Example source comment: OldKey-001 Targeted url: myJira.myCompany.com/browse/JTP-001 Example source comment: JTP-002 Targeted url: myJira.myCompany.com/browse/JTP-002