Question & Answer
Question
How do you configure the CMI task provider for JIRA and administer user credentials?
Cause
You must configure CMI for JIRA to use it.
Answer
Using mkcmprovider to configure CMI for JIRA
Referring to the mkcmprovider reference page, note the following changes that support JIRA as a task provider.
- type
- Specify cmjira
-connection connection
- For JIRA, connection information in the form, baseurl:server-url
The baseurl should be in the following format:
server_name:port
Example:
qvmw339:8080
-context context-string
- For JIRA, "queryuri:query"
The queryuri format should be JQL. ClearCase currently supports using GET requests for JIRA queries. POST is not supported at this time.
JIRA's web interface supports filters that are queries that can be run or setup by end users. Go to Issues -> Manage filters in the JIRA web interface and run a filter there to see the arguments used to build a JQL version of that filter. Looking at the above queryuri example in the JIRA web interface shows:
“project = IP ORDER BY summary ASC, updatedDate DESC”
-data provider-info-file
- For JIRA, connection.baseurl=server-url
Using cmiregister to administer user credentials for JIRA
Referring to the cmiregister reference page, note the following changes that have been made to cmiregister subcommands to support JIRA:
- add -jira -name provider_name
remove -jira { -name provider_name | -all }
replace -jira -name provider_name
list -jira -name provider_name (You can also list credentials for all task providers: list -cq -rtc -jira)
Also note the following option:
- -jira
- Specifies that JIRA is the task provider.
[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Cleartool","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.0.0.14;8.0.0.15;8.0.0.16;8.0.1.7;8.0.1.8;8.0.1.9","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
08 August 2018
UID
swg21696943