Comments
-
Hi Nikola, Thank you for your response. I can confirm that Jira does not contain any functionality to migrate project configuration out of the box to allow instances to be merged as it only allows a whole instance to be restored into a new instance. The closest functionality Jira provides is the Project Import…
-
Hi Sam, Thank you for your question. Thank you for your question. I can confirm that the reason that your code above will not work inside of ScriptRunner for Jira Cloud is due to the fact the code you have provided is fro ScriptRunner for Jira Server and this will not work as Atlassian only provide a rest API in Jira Cloud…
-
Hi Mattheiu, You are correct, my response is based on the Atlassian Cloud Rest API's and ScriptRunner for Jira Cloud. I am unable to say if Jira Portfolio contains any built in functionality to achieve your requirement as I am not familiar with how Jira Portfolio works myself. I would advise asking this question to…
-
Hi Matthieu, Thank you for your question. I can confirm that it is not possible to generate an export of these fields to a spreadsheet using ScriptRunner for Jira Cloud,due to the fact that Atlassian do not provide a rest API to generate an export file inside of Jira Cloud and that ScriptRunner for Jira Cloud can only use…
-
Hi Sneha, Thank you for your question. I can confirm that to set a field which is not on the screen inside of ScriptRunner for Jira Cloud that you need to specify a query string paramater to override screen security and to allow the rest call to set a field which is not on the screen. I can confirm that we have an example…
-
Hi Sushma, Thank you for your question. I can confirm that ScriptRunner for Jira Server comes with the Hide UI Element Built in Script as described inside of the documentation page located here. You will be able to take this built in script and configure it to hide issue linking panel on an issue so that users cannot…
-
Hi Pawel, I am glad that my response, helped you to solve your requirements. Regards, Kristian
-
Hi Pawel, Thank you for your question. I can confirm that the documentation page that you have linked to above is an old cached version of the documentation. I can confirm that ScriptRunner for Jira Cloud does contain the hasLinks function as a JQL alias as described in the documentation page here. As it is a JQL Alias you…
-
Hi PushpKant. Thank you for your question. I can confirm that the ScriptRunner for JIRA Cloud plugin is unable to perform any dynamic validation on issue forms to link, hide or make fields only like the server version can with the Behaviors feature. Also I can confirm that the plugin cannot dynamically populate field…
-
Hi Pushpkant, Thank you for your question. I have reviewed your script and the stack trace for it above and can confirm that it indicates that you are not correctly getting the field values which means that the values cannot be accessed to be added up. I can confirm that we have an example script of how to get field values…
-
Hi Ian, Thank you for your question. I can confirm that you can see the ScriptRunner for Jira Cloud documentation site located here as well as the Atlassian rest API documentation located here. I can also confirm that as per your example above that the conditions inside of ScriptRunner for Jira Cloud are built on the…
-
Hi Lixiaowan, Thank you for your question. I can confirm that your stack trace matches a bug which we had in version 3.0.7 which caused the export to throw this error and not copy the export file correctly over to the <JiraHomeDirectory>/export/projectconfigurator directory as shown in the ticket located here. This bug was…
-
Hi Hashpreet, Thank you for your question. I can confirm that we have the sample code snippet located here which shows on line 15 a line of code that can be placed in the Additional Code box to clone the Epic Link field. This code will take the value from the issue being cloned which is stored in the issue map and will…
-
Hi Alex, Thank you for your question. Could, I please request that you raise a ticket in our support located here which contains a copy of your script and the full error message that you are recieving so that we can debug this for you inside of our support portal. Regards, Kristian
-
Hi Alex, I have just done a test and confirm that the toString value is only populated when a fix version already exists and a new version is added. This is the way that the changelog returned by Atlassian works and ScriptRunner is just returning this data. The reason appears to be that the change log is only showing what…
-
Hi Leanne, Thank you for your question. I can confirm with ScriptRunner for Jira Cloud that you can use the Scheduled Jobs functionality as described at here in order to schedule a script to run periodically to perform some actions inside of Jira. If this response has answered your question can you please mark it as…
-
Hi Henry, Thank you for your question. I can confirm that the built in backup and restore functionality provided by Atlassian simply restores a whole system and will erase all data on the system being imported into as it will only import what was in the source instance where the backup was generated. You will find the…
-
Hi Jeniffer, Thank you for your question. I can confirm that ScriptRunner for Jira Server contains the Script Registry feature as documented here which shows where scripts are used inside an instance. I am not familiar with Portfolio or Structure but notice from their documentation pages linked below that they both contain…
-
Hi Mohajit, You are welcome. Regards, Kristian
-
Hi Alex, Thank you for your question. I have just tested your code and added in an extra log statement to log out the whole of the changelog paramater when updating a fix version. I noticed that in the changelog that was returned the field was called Fix Version rather than fixVersions. Could I please ask you to try to…
-
Hi Mohajit, Thank you for your questions, I have answered them inline below. * I can confirm that ScriptRunner Enhanced Search is included in the plugin as standard and you can see the documentation on this feature here. * I can confirm that Atlassian mandate that you must licence Jira Plugins for the same number of users…
-
Hi Mindy, Thank you for your question. I can confirm that to achieve your requirement inside ScriptRunner for Jira Cloud that your script would need to make a call to the Get Comments API to get all the comments from an issue and then to extract the last comment from all the comments returned for that issue and to save…
-
Hi David, I can confirm that the script above is no longer valid on Jira Cloud since Atlassian released the GDPR changes this year which meaans that users can no longer be set via their username and instead must be set using their accountID. I can confirm that we have created a page in our documentation located here which…
-
Hi Alex, Thank you for your question. I can confirm that it is not possible to dispatch an event to be run in Jira Cloud like you can do in Jira Server due to the fact that Atlassian only provides a rest API in Jira Cloud and do not provide a Java API in the cloud like they do in Jira Server. You can see more detailed…
-
Hi Ash, Thank you for your question. I can confirm that it is not possible to enforce a Parent Link is required when creating and editing epics with ScriptRunner for Jira Cloud as the plugin currently does not provide the Conditions or Validators or Behaviours functions that the server version provides. The reason we are…
-
Hi Ricardo, I have created a sample script located here which modifies the example from the documentation to sum up the value of story issues below an epic and to store them on the epic issue, each time the epic issue is updated. You will be able to take this script and to use it as a reference guide to create the script…
-
Hi Chris, I can confirm that this example code can be configured inside of a post function. Regards, Kristian
-
Hi Ricardo, Thank you for your question. I can confirm that we have some example Script Listener in the cloud documentation located here shows how to sum up all the story points for subtask issues and store these on the parent issues. You will be able to take this example and to refer to in order to see an example of how,…
-
Hi Nick, Thank you for your question. I can confirm that we have created an example of a script located here which can be ran on the script console inside of ScripRunner for Jira cloud to show how you can transition issues returned by a JQL query. You will be able to use this script as a reference in order to create a…
-
Hi Chris, Thank you for your question. I can confirm that we have an example post function script located here which shows how you can extract the value of a user picker field and set the assignee as the extracted user. Using this script you just need to set the UserPickerFieldName variable to the name of your user picker…