Hello,
I'm using ScriptRunner for Jira Cloud and I basically have the following workflow that I'm trying to automate.
Basically I want any updates to the fix version to propagate out to any linked support tickets, I've managed a solution which unfortunately will only work on Jira server, and I'm struggling a little getting this to work on cloud having just migrated.
Here's the shell:
def fixVersionChanged = changelog?.items.find { it['field'] == 'Fix versions' }
if (!fixVersionChanged) {
//logger.info("Fix Version was not modified")
return;
}
//logger.info("Fix Version was modified")Assistance would be much appreciated.
Thank you
Hi Alexey! Thansk for your quick reply! I tried already, and I'm getting this message (and no items on the search result): "Field 'issueFunction' does not exist or you do not have permission to view it."
I tried running "issueFunction in subtasksOf("status = Open") and status = Open" and "issueFunction in subtasksOf("status = Open")" and same mesage on both.
So, I believe that something is missing in the configuration or something. BTW, I'm using Jira Clouding + SR clouding
Any thoughts?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess you need to enable the feature on Cloud
http://scriptrunner-docs.connect.adaptavist.com/jiracloud/enhanced-search.html#_enabling_the_feature
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You can open the Issue Navigator and enter the following JQL query in the advanced search
issueFunction in subtasksOf("status = X") and status = X
This will give you all subtasks which are in status X and their parents are also in status X
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess you need to enable the feature on Cloud
http://scriptrunner-docs.connect.adaptavist.com/jiracloud/enhanced-search.html#_enabling_the_feature
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.