We have a rather complex setup of multiple fix versions per issue due to multiple products we are shipping with the same code base. We create fix versions like product1-next, product2-next.
Once we create a release branch for a product I need to rename the current -next version of a product to a specific version.
How can I edit a fix version using automation? Out of the box we can only create/release/unrelease versions.
Hello,
Your script should look like this:
string [] fields = getIssueFieldNames(key);
string customKpiField = "";
for(string _fieldName in fields){
if(contains(toLower(_fieldName), "kpi")){
customKpiField = _fieldName;
}
}
logPrint("Error", "KPI Field: "+customKpiField);
You get the key of an issue by calling the key variable, not issue.key
yes, you are totally right, however that function is still not getting recognized:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
btw, i'm looking the docs in https://confluence.cprime.io/display/SIL/getIssueFieldNames
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is your SIL engine? It is available from 3.0.8
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm in Jira Cloud so... I assume it's the latest since i installed the plugin the last week, if not... how can i see which version is my Jira using ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The getIssueFieldNames(issueKey) method is not available for Jira Cloud, unfortunately.
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.