Comments
-
Hi Adam, Thank you for your question. I can confirm that to achieve your requirement with ScriptRunner for Jira Cloud that you would need to create a Script Listener which is configured to run on the Comment Created event. I can confirm that this webhook event will then have the comment map structure as a property which…
-
Hi Humberto, Thank you for your question. So that i am able to advise further on on your requirement, can I please confirm how are you creating the subtasks, are you using the *Create Subtask* workflow function provided by ScriptRunner for Jira Cloud or have you created your own script to create the subtaks? Regards,…
-
Hi Franz, Thank you for your question. I can confirm that it will not be possible to achieve this requirement with ScriptRunner for Jira Cloud, due to the fact that the plugin is unable to provide the same workflow conditions functionality that the server version provides. The reason we are unable to provide this…
-
Hola salvador, He traducido mi respuesta anterior para ti. Pido disculpas si mi traducción no es precisa. Puedo confirmar que, usando ScriptRunner para Jira Cloud, es posible crear un Script Listener que puede calcular un valor basado en los campos de una tarea y publicar el resultado en un campo personalizado cuando se…
-
Hi Abdul, Thank you for your question. I can confirm that ScriptRunner for Jira Cloud is different to ScriptRunner Jira Server as Jira Cloud does not provide the Java API which the server version has as Atlassian restrict what functions can be performed on the cloud through the Rest API. This is the reason that your Import…
-
Hi Anna, Could I please ask you to accept the answer above in order to show other users searching for a similar question that the script and answer above works as expected. Regards, Kristian
-
Hi Eskimo, I do not believe this requirement would be easily possible out of the box using the validators that come as standard with Jira Cloud although the Regular expression validator may allow you to achieve what you require. I would advise looking at an add on that can provide this functionality. However, I can advise…
-
Hi Salvador, I can confirm that using ScriptRunner for Jira Cloud that it is possible to create a Script Listener which can calculate a value based on fields on an issue and post the result to a custom field when the issue is updated. The documentation page located here has an example of how you can achieve this. If this…
-
Hi Anna, Thank you for confirming that the script is working as expected. I can confirm that the notificaitons made by an issue being updated are triggered by Jira itself and not by ScriptRunner for Jira Cloud. This means that to avoid emails being sent that you will need to update the notification sheme for the project to…
-
Hi Test User, 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 or hide fields like the server version can with the Behaviors feature. Also I can confirm that the plugin cannot dynamically populate field values like it…
-
Hi Anna, Thank you for your response. I can confirm that the static type checking error is just a warning, where the compiler cannot fully understand the code but can be ignored and you can see more details of how static type checking works in the documentation page located here. Also, I notice that you have configured…
-
Hi Suresh, Thank you for your response. I can confirm that unfortunately, the reason the issue loads before the listener is run is due to the fact that Atlassian has designed Jira Cloud to execute in a completely asynchronous manner as described inside of our documentation pages located here and here. This, unfortunately,…
-
Hi Fernanda de Souza Thaumaturgo, I can confirm that you will be unable to use Behaviours as responses have suggested within ScriptRunner for Jira Cloud as the cloud version of the plugin does not have the Behaviours feature like the server version does. The reason we are unable to provide this functionality is due to the…
-
Hi Anna, Thank you for your question. I can confirm that to achieve your requirement In order to achieve your requirement with ScriptRunner for Jira Cloud, you will need to create a Script Listener which is configured to execute on the Worklog Created event. The script for the listener will need to get the worklog that was…
-
Hi George, I can confirm that you only use imports provided by the standard Java 8 classes as described in the documentation page here and that as mentioned previously you can only interact with Jira Cloud through the Rest API as Atlassian do not provide the same Java API in Jira Cloud that they do in Jira Server. Regards,…
-
Hi Suresh, Can I please ask you to confirm if you set your Script Listener to be configured on the IssueLink Created event as the listener will need to be configured on this event in order for the issueLink variable to be available to the script. I can confirm that if you use the Issue Created event which is similar that…
-
Hi Suresh, I can confirm that I have updated my example above to show how to remove the value from a single line select list type custom field as well. Regards, Kristian
-
Hi Suresh, Thank you for your question. I can confirm that to have a field value removed when an issue is cloned using the built-in Jira clone issue functionality with ScriptRunner for Jira Cloud that you will need to create a Script Listener and configured to fire on the Issue Link Created event. The script for the…
-
Great Article - Andy - Looking forward to the next time I get to meet up with yourself and all of the other community leaders.
-
Hi Tamilselvan, I am from Adapatavist and can advise on migrating ScriptRunner for Jira Server to ScriptRunner for Jira Cloud, but cannot advise on the other add-ons and as Alexy has mentioned for these add ons you should reach out to the add on vendors directly. In order to migrate your scripts from JIRA server to JIRA…
-
I would take my fishing rod, in case there is any hidden water below the surface of the moon so I could some kind of Moon fishing a bit like ice fishing as one of my favourite hobbies, when I am not at work is sitting on the beach relaxing and fishing often under the moonlight in the evenings at weekends.
-
Hi VVeider, Thank you for your question. I can confirm that as Randy has said that to add a watcher with ScriptRunner for Jira Cloud that you will need to make a rest API call to the watchers API. I can confirm that we have an example code snippet located here which can be run in the Script Console and shows how you can…
-
Hi Pushpkant, Thank you for your question. I can confirm that in order to create an issue programatically using ScriptRunner for Jira Cloud that you need your script will need to make a call to the Issue rest API which Atlassian have documented here. Your script will need to get the values for the issue that you wish to…
-
Hi Melanie, I can confirm that ScriptRunner for Jira Cloud does not provide the functionality to create scripted conditions and validators like ScriptRunner for Jira Server does as described in the KB articles located here and here. I can also confirm that you can see more detailed information on the differences between…
-
Hi Mary, Thank you for confirming that you managed to resolve your issue. Could I please ask you to share here the details of what you did to resolve the error, so that other users with the same error can see how to resolve it. Regards, Kristian
-
Hi EL, Thank you for your question. I can confirm that the Calculated Field script listener example provided in the ScriptRunner for Jira Cloud documentation here requires each of the custom fields to be a number type field. Can I please ask you to navigate to the custom fields page in your instance and to check the fields…
-
Hi Instancy, We notice that you have raised this same question in your support ticket through the Project Configurator support portal and we can confirm that we are dealing with your question through the support portal. Regards, Kristian
-
Hi Chris, Thank you for your question. I can confirm that Jira Cloud does not contain any functionality to export or archive just a single project including all of its configuration and issue data out of the box. In order to export the configuration and data for a single project then you will either need to use the Project…
-
Hi Haiyaner, Thank you for your question. I can confirm that the red cross which you are seeing is the result of the Static Type Checking feature in the code editor. I can confirm that you can read more about this feature inside of the ScriptRunner for Jira Server documentation page located here. As noted in the…
-
Hi Shiv, Thank you for your question. I can confirm that Atlassian provide the Delete User rest API to delete a single user but that they currently they do not provide any API to bulk delete users. You could look to take the API above and look to create a script which executed multiple calls to delete the users that you…