Comments
-
Hi Giampiero, I can confirm with ScriptRunner for Jira Cloud you can use the Date Compare enhanced search function which is documented here and this page provides examples of how this function works. Alternatively when on the Enhanced Search page you can click the + button at the end of the search bar to bring up a dilog…
-
Hi Matt, Thank you for your question. I can confirm that with ScriptRunner for Jira Cloud that you can use the linkedIssuesOf() and linkedIssuesOfRecursive() functions to return the linked issues of all issues which match the subquery for the function. However, the ways these functions work is that they will return any…
-
Hi Andrey, I can confirm that you cannot use a user's name inside of Jira Cloud as Atlassian only allows you to specify users via their accountId since the GDPR changes they made and they enforce this in the rest API's which means you cannot specify users via their username. Regards, Kristian
-
Hi Megan. I can confirm that unfortunately that it is not possible to create template descriptions on issue forms with ScriptRunenr for Jira Cloud like you can do with the server version of ScriptRunner. This is due to the fact that the cloud version of Jira does not have the same API's that the server version of Jira has…
-
Hi Adam, I have checked and it is not possible to access the Channel field which shows where an issue originated from inside of Jira Cloud due to the fact that Atlassian does not provide any public Rest API's to access this information. ScriptRunner for Jira Cloud can only return information from Jira using the Rest API's…
-
Hi kukabgd, Can I please ask if you are using Jira Server or Jira Cloud as you have marked this answer as Jira Cloud and in Jira cloud, I can confirm that Atlassian does not provide any API's for sending custom emails and that they only provide the Send notification for Issue API which can send a notification when an issue…
-
Hi Danish, I have added an example here on line 55 which shows gow to validate that a checkbox field must contain just a single value. Please note if you need to change this example you will be able to modify this using the Jira Expression framework doucmentation as an example to help you to modify it using the Jira…
-
Hi Danish, Thank you for your question. I can confirm that the reason for your error is due to your validator expression is not valid code for Jira cloud and is groovy code that will only work on Jira server. I can confirm that inside of Jira Cloud that validators are designed using the Jira Expression Framework and you…
-
Hi Hector, I can confirm that inside of Jira Cloud that validators are designed using the Jira Expression Framework and you would need to use this to define the validator that you require. I can confirm that we have a knowledge base article located here which explains how you can use this to create the validator that you…
-
Hi Michele, Thank you for your question. I can confirm that we have our feature board located here and you can follow the card here to see when behaviours will be avaliable but we cannot give an ETA of when this will be avalianle currently. Regards, Kristian
-
Hi Farbod, The way enhanced search works is that any changes to the enhanced search filter are synchronised to the regular Jira filter every X minutes depending on the value you configure on the settings page as documented here. Also when the filter is shared you must toggle the Sync Filter button for this to happen as…
-
HI Payne, Unfortunately, this code will not work in ScriptRunner for Jira Cloud as Jira Cloud only provides the rest API's that ScriptRunner can use and does not have the same Java API's like the server version has. Regards, Kristian
-
Hi Robert, I can confirm that we have examples of how to extract values from different types of fields in the documentation page located here and you can run these examples on the Script Console page in order to see how to extract values from different type of fields. You will be able to use these examples as a reference…
-
Hi Eduard, Unfortunately, there is no plugin that I am aware of that can get access to the Jira logs in Jira Cloud as Atlassian does not provide access to these logs. Regards, Kristian
-
Hi Marko, I can confirm we have just made a change as documented in the release notes located here to include some SQL Librays inside of the plugin which will allow you to connect to external databases from SR Jira Cloud which may help you with achieving your requirement. I hope this helps. Regards, Kristian
-
Hi Eduard, I can confirm inside of ScriptRunenr for Jira Cloud we provide the Logs page but this page only shows the information on the execution logs for ScriptRunner scripts as documented in the linked page and does not provide any Jira logs. Inside of ScriptRunner for Jira Cloud, you can not view the actual Jira Logs as…
-
Hi Marko, Thank you for your response. I can confirm that currently it is not possible to connect to an external database with ScriptRunner for Jira Cloud as Atlassian does not provide any Rest API's to do this currently. However, I can confirm we have a feature request board located here and would encourage you to raise a…
-
Hi Simeon, My name is Kristian full disclosure I am from Adaptavist who is the maker of ScriptRunner for Jira Cloud. I can confirm that if you want to use just the search features of ScriptRunner that we provide another plugin called Enhanced Search (JQL and Subqueries) which provides just the search features at a smaller…
-
Hi Dawn, It sounds as if you are using the example we have in the docs page located here. This example as mentioned will only show the value on the Epic Issue type as that is how the code is designed to work as the if block that the code is wrapped in is checking if the issue type is an Epic issue. This means that when…
-
Hi Peter, Thank you for sharing the solution and I am glad my suggestion helped. Kristian
-
Hi Peter, I can confirm that the Confluence Cloud Rest API contains the Get Restrictions API and you will be able to make a rest call to this API in your script to see for a specific page what restrictions it has set. I hope this information helps. Regards, Kristian
-
Hi Kym, Thank you for confirming this, if the field values provided by ProForms are null then you will need to ask the vendor of Pro-Forms why this is the case as I can confirm ScriptRunner just returns the issues as Atlassian provide them when the issue is created. Regards, Kristian
-
Hi Dan, Thank you for your question. I noticed you have tagged this question as for Jira Cloud but can confirm that ScriptRunner for Jira Cloud does not provide the same issue picker fields that the server version has. I would advise re-tagging this question as Jira Server or reposting this so that someone more familiar…
-
Hi Kym, Thank you for your response. Can you please try logging out just the individual fields which you require which you can do by adding a logline similar to logger.info(issue.fields.customfield_12345.toString()) where you replace customfield_12345 with the ID of the custom field you want to log out the value for. This…
-
Hi Andrew, Thank you for your response. I can confirm that the Enhanced Search functions provided by ScriptRunner for Jira Cloud can only be run on the enhanced search page as we have to run these search functions in a sandbox environment. However, this does not mean they cannot be used on a board and to do this you need…
-
Hi Michael, I can confirm tht where you have the text of filter ='FilterName' that you can use the in keyword to pull in issues from mutiple filters in JQL by changing your text to be like filter in('FilterName','FilterName','FilterName') where you specify a comma seperated list of filters inside of the parentheses. It is…
-
Hi Eric, I can confirm with ScriptRunner for Jira Cloud you could loop over the linked issues and then call the Edit Issue rest API to set the labels from the first linked issue to the next linked issue when a linked issue is closed. I can confirm we have an example Script here which can be run on the script console and…
-
Hi Zachi, If you are experiencing issues with the code that you have written where it is not working as expected then I would advise you to create a support ticket located in our support portal here, so that my colleagues in our server support team can help advise on why the script is not working as expected. Regards,…
-
Hi Orenis, I can confirm that the best way to see what fieds are stored on an issue with ScriptRunner for Jira Cloud is to navigate to the Script Console and to click on the link named Get Issue Fields in the Examples section below the code box. This will then populate a sample script which you can configure by specifying…
-
Hi Serge, Thank you for your question. I notice you have raised this same question inside of our ScriptRunner for Jira Cloud support portal and I can confirm that we will answer this question inside of our support portal. Regards, Kristian