Comments
-
Hi Daniel, I can confirm that if you are using Jira Server as you have indicated that the community answer linked to above will not work inside of Jira Server as this is for Jira Cloud. However, I can confirm that if you install ScriptRunner for Jira Server that you can use the Add Watcher listener to automatically add…
-
Hi Reinout, Thank you for your question. I can confirm that it is not possible to achieve your requirement of hiding the Development section using ScriptRunner for Jira Cloud like you could do with ScriptRunner for Jira Server. The reason for this is due to the fact that Atlassian only provides a rest API in Jira Cloud and…
-
Hi Roy, Thank you for your question. I can confirm that you cannot use the same code that you would use in ScriptRunner for Jira Server inside of ScriptRunner for Jira Cloud because Atlassian only provides a rest API in Jira Cloud and does not provide a Java API in the cloud like they do in Jira Server. You can see more…
-
Hi Tim, 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 for ScriptRunner for Jira Server and this will not work as Atlassian only provides a rest API in Jira Cloud and does not provide a Java…
-
Hi Matt, Thank you for your question. I can confirm that Atlassian only provides a Rest API in Jira Cloud and does not provide a Java API in the cloud like they do in Jira Server. You can see more detailed information on the differences between the cloud and server versions inside of our documentation page located here. We…
-
Hi White Linen Homes, Thank you for your question. I can confirm that the reason that your package import mentioned above will not work inside of ScriptRunner for Jira Cloud is due to the fact the imports you have mentioned are for ScriptRunner for Jira Server and this will not work as Atlassian only provide a Rest API in…
-
Hi Jacob, Thank you for your question. I can confirm that when configuring a Script Listener with ScriptRunenr for Jira Cloud that you can configure conditions based on the Jira Expression Framework as described in the documentation page located here. Also, I can confirm that when writing a listener you can see what…
-
Hi Jacob, Thank you for your response. As mentioned previously the time that it takes to return the data is controlled by Atlassian and how long their systems take to respond to your request. I would advise contacting Atlassian direclty to ask them why the API is returning data slower than you expect. Regards, Kristian
-
HI Mitchell, The snippet I shared was froo the Script Console and may need to be modified for a Script Listener to get any properties you require depending on what events you configure the listiner to run for. Thanks, Kristian
-
Hi Jacob, Thank you for your response. I can confirm that the time it takes to return the results for your query depends on how long Atlassian take to return the data that is returned by your rest request. However, I can confirm if you only need some of the fields on the issue then you could look to only return the fields…
-
Hi Mitch, Thank you for your question. I just wanted to share that we have an example script on how to copy the versions between projects located in the documentation page here. I can confirm that the rest call in the versions variable shows the syntax for a rest call that can return all versions for a project and that…
-
Hi Fasail, I have included the same response that we shared on your product support ticket below for reference, so that other users looking for a similar question can see the answer. * I can confirm that it is not possible to dynamically set and populate dynamic values with text in front of them for a Cascading Select List…
-
Hi Jose, Thank you for your response. I can confirm that to get the date field values and to set the date field values that you should refer to the examples which we have in the documentation here as these show how to extract the values from different field types on an issue. I can also confirm that to convert the string…
-
Hi Jose, Thank you for your question. I can confirm that the code suggested above will not work for Jira Cloud due to the fact that the code you have provided is foo ScriptRunner for Jira Server and this will not work as Atlassian only provide a rest API in Jira Cloud and do not provide a Java API in the cloud like they do…
-
Hi Vitor, Thank you for your question. So that I am able to advise further on what is causing the behaviour which you are seeing, can I please ask you to attach some screenshots showing how the script has been configured so we can see if it is a Script Listener or a Post Function? I can confirm that we have an example…
-
Hi Roberto, Thank you for your response. Yes I can confirm that this means that you will only be able to create your scripts using the browser console in *ScriptRunner for Jira Cloud* and that *ScriptRunner for Jira Cloud* does not have code completion as only the server version currently provides this. Regards, Kristian
-
Hi Luke, Thank you for your question. I can confirm that ScriptRunner for Jira Server only has limited support for Dialogs as described in the documentation page located here. This means that with dialogs that to anything advanced such as creating a field which searches for users that you would need to write a bespoke…
-
Hi Roberto, Thank you for your question. I can confirm that currently, it is not possible to make ScriptRunner for Jira Cloud integrate with an IDE such as IntelliJ, as Atlassian does not provide the API's or integration points inside of Jira cloud to allow us to provide this. I can also confirm that the documentation page…
-
Hi Suresh, Thank you for your question. I can advise that the best way to run your script would be to run the script as a Script Listiner which is configured to fire on the Issuelink Creted event. I would then advise that you click on the link named Show Me next to the text which says There are parameters/variables that…
-
Hi Chris, Thank you for your response. Can I please confirm if you replaced the accountId string in the example with a valid accountId for a user in your instance, as a valid accountId will be needed in order for the subtask to be assigned. Also, can I please ask if the user you are specifying has the…
-
Hi Chris, Thank you for your question. I can confirm that the yellow warning triangles next to the code box does not mean the code is invalid and is caused by static type checking, as it means Jira does not fully understand the code. These warnings can be ignored as often the code will still run as expected with these…
-
Hi Valibhav, If you are still encountering an issue with Project Configurator, then can I please ask you to create a support ticket in the product support portal located here so that we can advise further on how to resolve the issue. Regards, Kristian
-
Hi Luke, Thank you for your question. I can confirm that the ScriptRunner for Jira Cloud plugin provides the Clone Issue workflow post function as described in the documentation page located here. Using this post function you can clone an issue during a workflow transition in either the current project or to a different…
-
What an awsome Friday Fun Day Thread. Last year for Xmas my wife brought me a retro Atari which I use to play some of the old classics such as Pong, Space Invaders and Asteroids. We often have parties with friends and family where we spend an evening playing classic games and it brings back the memories of one of the first…
-
Hi Suresh, Thank you for your question. I can confirm that we have responded to your question that you have created for this inside of our support portal. However, I have included the answer below which is that I can confirm that ScriptRunner for Jira Cloud does not provide any JQL functions to list or order stories and…
-
Hi Janene, Thank you for your response. Unfortantelty this means that it will not be possible to search for portfolio issues using JQL with ScriptRunner for Jira Cloud. Regards, Kristian
-
Hi Janene, Thank you for your question. I can confirm that ScriptRunner for Jira Cloud does not provide the same portfolioChildrenOf() and portfolioParentOf() JQL functions that the server version provides in order out of the box in order to search for Portfolio issues as the API to provide this function does not exist in…
-
Hi Esther, Thank you for your question. I have reviewed the Rest API documentation for Jira Cloud located here and can see that unfortunately Atlassian does not provide a rest API to create a dialogue for users like you can do in the Jira Server version. This means that it will not be possible to trigger an in app…
-
Hi Alexander, Thank you for your question. I can confirm that on ScriptRunner for Jira Server there is no limit set to how many issues which can be returned and updated by an escalation service. However, we would advise keeping the number returned small as returning a large number of issues and performing an action on them…
-
Hi Humberto, Thank you for this. I can confirm that the way to achieve this would be to set a field on the parent issues such as a checkbox on the subtask when it is created. You would then be able to condition to the *Create Subtask* function in order to check if the checkbox value was set and only to create the subtask…