Comments
-
Hi I don't think so as it's base on the issue hierarchy that is not dependant on the Project (Group by) Regards
-
it's a simple warning no ? You can add "as List" at the end of the line 16
-
Yes it's because you did not define odValue so it's consider as an object. We cannot define the type for this as it can be String or Array you can get around by creatin a new variable. def od= getFieldByName("Origin of Defect") def odO = getFieldByName("Origin of Defect: Other") odO.setHidden(true) def odValue =…
-
The issue is that the value returned is a String when there is one value selected but an array if there is multiple values selected. The script above should transform the String value to an array with one value. Regards
-
And this one ? def od= getFieldByName("Origin of Defect") def odO = getFieldByName("Origin of Defect: Other") odO.setHidden(true) def odValue = od.getFormValue(); if(odValue instanceof String){ odValue = [odValue] } if (odValue.contains("12828")) // Other { odO.setHidden(false) odO.setRequired(true) } else {…
-
Not sure but I've already seen it, those are then available to be added manually, no need to re-create the workflow.
-
Yes but the one I posted ?
-
Do you have all expected postfunction in the transition ? Update change history for an issue and store the issue in the database. for example. Can you share the postfunction of a transition that is not working ?
-
Hi @Pete P DOes this script works ? def od= getFieldByName("Origin of Defect") def odO = getFieldByName("Origin of Defect: Other") odO.setHidden(true) def odValue = od.getFormValue() as List; if (odValue.contains("12828")) // Other { odO.setHidden(false) odO.setRequired(true) } else { odO.setHidden(true)…
-
Hi @Alexis Evans If you look at the workflow transitions post-function does they looks like ok or seems weird with xml content for each post-function ? Regards
-
Hi @jira_admin_cu You can create a Scriptrunner Behaviour to do that, but having it as default may lead to people selecting the default value and not the appropriate one base on the context of the issue, so you will not be able to tell that 'Resolved' is actually resolved. It may be something like that in a script in a…
-
Hi @Jim Malgieri We usually avoid renaming status on large instance and create a new one instead. A status can be used in other workflow / projects. You should copy the WF, delete the status from the copy then update the Workflow Sceme with the copy. You cannot remove a status from an active workflow. Regards
-
Hi I you clone the issue instead of moving them it's normal that the comment has not been copied over. Only custom fields are copied in a cloned issue. Attachments are not copied except if you check the box when cloning the issue but not the comments. Status is not the same as the original issue as well and will have the…
-
Hi @Rafał Falisz You can get around this issue by using migrateIssueToWorkflow.…
-
Hi @Stefan Salzl You can do it using script by adding a server side script then use if statement. https://docs.adaptavist.com/sr4js/latest/features/behaviours/api-quick-reference if(getActionName() == "XXXX" AND .....){ getFieldById(getFieldChanged()).setRequired(true) } Regards
-
Can you inspect the page, go to Network, try to change the owner, click on the line that return 500 and what is the response returned ?
-
Have you doine the pre-update step before updating to this version if you needed to ? https://confluence.atlassian.com/automation/understand-versions-licenses-upgrades-1141480571.html
-
Hi @Bastien Delourmel I would go with 1 automation per field with a good naming convention to make it easier. Try to manage the 3 level within the same automation with If Then Else condition. Having multiple automation do not really make it harder to maintain as each automation will be simpler. Regards
-
Hi @Ashley Roberts I think it take the field saved in the filter. You have to save the filter, then add the field you want, make a change in your filter then save, revert back the query change and save. Follow the workaround describe below. https://jira.atlassian.com/browse/JRASERVER-30714 Regards
-
Hi @Gigi Mendenhall Someone may have change the filter the board is based on or add a sub-filter JQL in the configuration of the board. https://confluence.atlassian.com/jirasoftwareserver/configuring-a-board-938845252.html Regards
-
Hi @chakravarthysai mateti You just have to copy the plugin folder over the sandbox environement. https://confluence.atlassian.com/adminjiraserver084/important-directories-and-files-979405294.html Regards
-
Hi @[deleted] I think you are facing this bug, https://jira.atlassian.com/browse/JRACLOUD-70150. Regards
-
Hi @David Whitlock Yes it's possible to do it with automation for JIRA. Are you using JIRA Data Center ? The app is included into it. You can also do it using Scriptrunner by using a script. You should be able to run a script in the postfunction that Cancel the parent issue. import…
-
Hi @evan_lin You cannot has assignee is not a free text field so ~ is not available. I think best way would be to have your customer into a group, then use assignee in membersOf("") function. Regards
-
Hi It seems that you can https://success.clarizen.com/hc/en-us/articles/215455318-Jira-Integration-V2 But I'm not familiar with this tool. If you manage to create an app link between both app, you should be able to link issues to your tool. Regards
-
Hi @Vamsi Kandala Have you try the following line of code ? permissionManager.hasPermission(currentUser, Permission.ADMINISTER, space); You have to import com.atlassian.confluence.security.PermissionYou also have to set space variable with a space object.Regards
-
Hi @Ivan D Why a you using a script in automation for JIRA when you could use a rule that just edit the field ? If you edit a field but set no value it will clear it, no need to use a script. Regarding the script "setFieldValue" is use in Behaviours only "getCustomFieldObjectByName" is deprecated Regards
-
Hi @Daniel Pipe If you want to use Componenets you will need to created a peace of software that manage them, using REST API is a good solution. https://docs.atlassian.com/software/jira/docs/api/REST/8.2.4/#api/2/component-createComponent If you do not want to use Components specificely you can use a customfield using a…
-
Hi @Rashmi Singh Can you try to rename your filter and avoid using underscore ? You may face this issue . I remember having issue on Dashboard when using this cgaracter into a filter name. Regards
-
Hi @Daniel Martin It will depends what you ant to do with it, what is the information you want to attach to this issue type. I usually use Version for that on my side. Milestone is not a process so it do not have a workflow so I would say that no, I only need a name and a date, it's why I use Version. Regards