Comments
-
Hi Julia, Thank you for your question. I can confirm that you can use the approach in the example script here to make a text field required when a value is selected in a checkbox field. This script makes a select list when an option is selected in a multi-select list field. You can update this part to make the text field…
-
Hi Inayat, The script should be available to view now here. I hope this helps, Regards, Kristian
-
Hi Roberta, Can I clarify you are using Confluence Data Center as the Cloud version does not provide the Create Page Macro. If you are using the DC version then when configuring the Create Page macro you can set the AUI Class field to have the value aui-button and this will make the macro appear on the page as a button.…
-
Hi Andrew, In order to diagnose what is causing the loop, I would advise raising a support ticket here so that the ScriptRunner Support team can investigate what is causing the loop issue you are seeing. As for creating issues, I would advise creating a run script post function and then using HAPI which is the Helpful API…
-
Hi Imran, There is no built-in native Zendesk synchronisation that I am aware of inside of Jira. I can confirm that the ScriptRunner Connect tool made by the company I work for Adaptavist could synchronise JSM and ZenDesk. You can see more information in the documentation page here on how the tool works if you wish to find…
-
Hi Rodrigo, I can confirm that in Jira Cloud, the Behaviours feature does not support Jira Service Management, which means there is no way to restrict issue types on creation in Service Management at this time. You can see the products and projects types behaviours supports in the documentation page located here. Also, the…
-
Hi Sourav, I can confirm that inside Jira Cloud, Behaviours does not provide a set error message, which means you will not be able to achieve your requirement of displaying error text. You can see what fields and methods Behaviours supports Cloud in the documentation page located here, and the closest method to setError()…
-
Hi Teddy, The Atlassian support documentation page located here, lists the steps to transfer a repository to another workspace. You will be able to use these steps to move your repositories as you require. I hope this information helps. Regards, Kristian
-
Hi Rebbeca, We have an example in our script libray locaed here that you can refer to help you create the script you need. If you need further help with the script, then please raise a support request here and the support team can assist you with this. Regards, Kristian
-
Hi Rebecca, I can confirm Atlassian provides the Archive issue(s) by issue ID/key Rest API that can be used to archive up to 1000 issues per request, and you could use this to write a script to bulk archive issues in old projects. This API can only be used, however, if your Jira Cloud instance is on the Enterprise or…
-
Hi Asmath, In Jira cloud, you cannot search for remote linked issues as the linkedIssuesOfRemote JQL function is not provided in the cloud version. You can see a full list of what JQL functions from the on-premise versions are available in the cloud version on the documentation page located here. I hope this helps.…
-
Hi Asmath, I would advise checking the examples in the documentation page here and trying to modify these to create the query you require. If you need further help, then please raise a support request here and our support team can help you to create the query that you require. Regards, Kristian
-
Hi Aravindh, I can confirm you will want to use the epicsOf() enhanced search function to write queries to find epics with some or all of the child issues resolved. I would advise starting with some queries like the ones below to search for your use cases and modify them to achieve your needs. 1. issueFunction in…
-
Hi Uddara, I can confirm, as Manne mentioned, that ScriptRunner for Jira Cloud provides no mechanism to run code when a filter is subscribed to, which means it will not be possible to achieve your requirement. I hope this information helps. Regards, Kristian
-
Hi Michael, The Scripted Fields feature of ScriptRunner for Jira Cloud could be used to achieve fields which do calculations of other fields on an issue. This may be something you could use if you had different fields on an issue to match each cell in the sheet and then to calculate values based on the values of different…
-
Hi Asmath, Yes linkedIssuesOf() will work in Jira Cloud and the docs linked above are for Jira Cloud. In Jira Cloud you write the queries on the Enhanced Search page instead of in the main Jira search bar. Regards, Kristian
-
Hi Asmath, If you have either of the ScriptRunner for Jira Cloud or the Enhanced Search for Jira plugins installed, then the linkedIssuesOf() JQL function can help to achieve your requirement. Regards, Kristian
-
Hi Michael, Can you provide a screenshot showing which release fields you wish to update? Once we have this then, we can advise further on whether these could be updated either with ScriptRunner or by using another feature. Regards, Kristian
-
Hi Sean, I can confirm that ScriptRunner for Confluence Cloud can only interact with Confluence Cloud via the Confluence Cloud Rest API's. This means if there is an API to insert into the database, you can use this in your script; otherwise, your requirement will not be met. Looking at the database API, it does not look…
-
Hi Daniel, If you have ScriptRunner for Jira Cloud installed, you can achieve this requirement using the behaviours feature. As mentioned in the documentation page here, behaviours support the setReadOnly() method for company-managed projects. Using this, you could make your field read only when a specific value is…
-
Hi Tracy, You are welcome. If this answer solved your issue, could you please mark it as accepted to show it has correct for other users searching for the same question. Regards, Kristian
-
Hi Tracy, I can confirm in the example above the issue variable returns all fields on an issue so you can access custom fields using the customfieldId e.g like ${issue.fields.customfield_10010} where customfield_10010 is the ID of the custom field you wish to return the value back from on the issue. I have tested this…
-
Hi Daniel, If you have ScriptRunner for Jira Cloud installed, you can achieve this requirement using the behaviours feature. As mentioned in the documentation page here, behaviours support the Issue Type field on the Create View screen for company-managed projects. Using this, you could limit what issue types are displayed…
-
Hi SAzaruddin, If you have ScriptRunner for Jira Cloud installed, you can achieve this requirement using the behaviours feature. As mentioned in the documentation page here, behaviours support the Original Estimate field on the Issue View screen for company-managed projects. Using this, you could make the Original Estimate…
-
You can nest functions but please note in Jira cloud you need to use the issueFunction keyword first like the examples in the docs mention and you must run these on the enhanced search page in Jira Cloud.
-
Hi Mark, Thank you for your question. I can confirm that this requirement could be solved using the Workflow Validators feature of ScriptRunner for Jira Cloud. Using this feature, you can write a Jira Expression to achieve your requirement, and I can confirm that we have some example expressions here to help you get…
-
Hi bduncan, I can confirm that you can achieve this requirement using either the Enhanced Search for Jira Cloud plugin or the Enhanced Search feature of the ScriptRunner for Jira Cloud plugin. Using this, you can use the issuesInEpics() function to find all issues that are tasks inside Epics. I hope this information helps.…
-
Hi Prassana, The Enhanced Search feature of ScriptRunner for Jira Cloud or the standalone Enhanced Search app can help solve this using the ChildrenOf() JQL function. I hope this helps. Regards, Kristian
-
Hi Jayanth, I would advise raising this issue as a support ticket with the support team located here who will be able to help debug this issue further. Regards, Kristian
-
What type is the field you are trying to set, and how is this script configured? Regards, Kristian