I'm trying to create an "association" function between PVCS and Jira, until we obtain BitBucket. The idea I've come up with is:
The big question is, can an email to a designated box automatically update a Jira issue if the issue key is contained in the email Subject or Body? If not, is writing to a file an alternative, and if so, how would the file be attached to or read by the Jira issue?
Jira does have email handlers but the content of the email is strictly added as a Comment on the named Jira issue.
If you have the option to create a script then I would advise you to construct that script to utilize the Jira REST API to make the changes that you need to the specified Jira issue.
https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/
Can you suggest documentation and/or courses that can help me understand (from scratch) how to use the Jira REST API?
The script I created is a dos batch script that writes 2 lines of data to a file for each PVCS module (though that can be condensed to 1 line). The name of the output file would be equal to the key of the Jira item. I figure this script could call a script that copies all the lines from the file to a custom multi-line field called Version Control, in the target Jira item. Does that sound do-able, and if so, how can I learn how to do it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.