Our vBulletin migration is complete.
Welcome vBulletin users! All content and user information from the Micro Focus Forums (vBulletin) site has been migrated to this site. READ MORE.
Valued Contributor.. sswargam Valued Contributor..
Valued Contributor..
7526 views

SSC JIRA integration with labels

Jump to solution

Is there a way to add JIRA labels to JIRA issues created from HP SSC (v 4.10)?

Labels (2)
Tags (2)
0 Likes
1 Solution

Accepted Solutions
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: SSC JIRA integration with labels

Jump to solution

The actual GUI is generated by SSC. Bug tracker implementations merely return lists of BugTrackerConfig and BugParam objects. SSC uses this information to build the bug tracker configuration and bug submission dialogs.

As an example, please have a look at the getConfiguration(), getBugParameters() and onParameterChange() methods in the BugTrackerPluginJIRA4 sample code. Please see Appendix B in the SSC Install & Config Guide for more detailed instructions about the methods that need to be implemented by custom bug tracker implementations.

0 Likes
6 Replies
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: SSC JIRA integration with labels

Jump to solution

The standard JIRA bug tracker integration provided with SSC does not support adding labels to JIRA issues. The source code for this bug tracker plugin is available with the SSC installation media, so you could try to add this functionality yourself or with the help from Fortify Professional Services.


Please note however that the current JIRA bug tracker plugin is still based on the now deprecated JIRA SOAP API. I had a quick look at the JIRA SOAP API documentation (JIRA RPC plugin 4.1-1 API) and could not find any functionality for adding labels to issues. As such it may be difficult to modify the existing implementation to add support for JIRA labels.


The JIRA REST API does seem to support labels, so the best option would probably be to use an alternative bug tracker plugin that is based on the JIRA REST API. Such an implementation is currently not publicly available. Fortify Professional Services does have some experience in developing a customized REST-based JIRA plugin, so if necessary we can help you implement the required functionality as part of a services engagement.

0 Likes
Valued Contributor.. sswargam Valued Contributor..
Valued Contributor..

Re: SSC JIRA integration with labels

Jump to solution

I figured out a way to add JIRA labels using the JIRA REST API. It can be added on an update of the JIRA issue and not when creating it using the JIRA REST API. So an update will have to be followed immediately after creating the JIRA issue.

The GUI in HP SSC to submit a Bug is not configurable to add a JIRA Label, isn't it?

0 Likes
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: SSC JIRA integration with labels

Jump to solution

No, the GUI is hard-coded in the JIRA plugin implementation. In order to change the GUI, you would need to modify the sample source code included with the SSC installation media.

0 Likes
Valued Contributor.. sswargam Valued Contributor..
Valued Contributor..

Re: SSC JIRA integration with labels

Jump to solution

Does the BugTrackerPluginJIRA4 contain the GUI sample source code as well?

0 Likes
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: SSC JIRA integration with labels

Jump to solution

The actual GUI is generated by SSC. Bug tracker implementations merely return lists of BugTrackerConfig and BugParam objects. SSC uses this information to build the bug tracker configuration and bug submission dialogs.

As an example, please have a look at the getConfiguration(), getBugParameters() and onParameterChange() methods in the BugTrackerPluginJIRA4 sample code. Please see Appendix B in the SSC Install & Config Guide for more detailed instructions about the methods that need to be implemented by custom bug tracker implementations.

0 Likes
Valued Contributor.. sswargam Valued Contributor..
Valued Contributor..

Re: SSC JIRA integration with labels

Jump to solution

Thanks, Ruud. Thats what we were looking for.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.