Comments
-
Hello @Nannette Mori , I tried your code it worked fine in my Jira instance. If the check fails, there is a red cross on the line. If you hover on the red cross, you will have a detailed message of the error. Could you paste a screenshot with the error?
-
Hello @Nannette Mori , Yes, you can copy a value from parent to child. Do you mean that you want to copy the value of a custom field from task to subtask? If so, then you could write a code like this: #{your custom field name} = parent.#{your custom field name} If you want to take a linked issue then use…
-
Correct! I believe that admGetProjectComponent should not work like this. Anyway do not check if component exists or not. Just use admAddProjectComponent("VTBTOP", "TEST", "Verify the addition of components.", "",0); If such a component exists it will not create a new one.
-
@Helen Porter if (IsNotNull(admGetProjectComponent("JIRASUPP", "Test"))) { ... }
-
Hello @Helen Porter , You can use admGetProjectComponent: https://confluence.cprime.io/display/SIL/admGetProjectComponent
-
Hello! I believe that the project variable is null in your script. How do you run your script? If you run your script from the SIL manager then you should set the context for the script. You can do it by pushing the Run Configuration button and set an issue key in the Context field:
-
Hello @Rahul Chaudhari , Could you provide the SIL code, which gives you this error.
-
Hello! I think you need the SIL groovy connector. You could create a SIL script like this: string script = "import com.atlassian.jira.component.ComponentAccessor;" + "import com.atlassian.jira.portal.PortalPageManager;" + "import com.atlassian.jira.issue.search.SearchRequestManager;" + "" + "def portalManager =…
-
Hello, How do you know that the event is not firing? What is the event? What is the script for you file?
-
Hello @Mehmet Cengiz TURANLI , pull version 2 from the repo: git clone https://alex1mmm@bitbucket.org/alex1mmm/jira-react-atlaskit-archetype.git --branch v2 --single-branch There is the hot reload.
-
Hello @Christophe Floquet , There are two ways to accomplish it: 1. User SIL http routines to call Jira Rest API to create, transition and update issues. You can find more information on http routines here. 2. The better way would be to use Remote Systems. You can define a Remote System in your source Jira instance for the…
-
@Taranjeet Singh thank you! You can use Scriptrunner web resources to put your custom css.
-
@Omprakash Thamsetty , Do not pay attention to this error. The problem is that you use def from the extrepoterval variable. Which means that the real class of this variable will be defined at the runtime and that is why the error checker does not know which methods this class has.
-
Thank you for the details @Omprakash Thamsetty ! PCFU returns a List of SocOptionImpl class objects. SocOptionImpl has two methods: getLabel() - get the Label for the current value getValue() - get the current value. You use the single select field, that is why this list contains only one value and you can write a code…
-
Do you use Power Database Fields or Power Custom Fields Pro?
-
Hello @Omprakash Thamsetty ! Could you provide your groovy script?
-
Hello! If you have REST API in your system with selenium Java scripts and this REST API can execute your selenium scripts, then you could use Power Scripts or any other scripting app to call this REST API. I will provide a detailed example for the Power Scripts app. You can do the following: 1. Create an issuetype called…
-
Hello! Please, have a look at this ticket: https://jira.atlassian.com/browse/MIG-153 You can find a workaround there.
-
@Dang Thi Thuy Tien You should delete <pluginDependencies> <pluginDependency> <groupId>ru.matveev.alexey.tutorial.library</groupId> <artifactId>jira-library</artifactId> </pluginDependency> </pluginDependencies> form the pom.xml
-
@František Špaček _MoroSystems_ I have not tried this solution. But if you need to change the whole instance then I think you should try it. It is much better than to put JS code into announcement banner.
-
I am sure it is possible with ScriptRunner. But I do not have a ready script for it. Hopefully, somebody else will provide a solution for it.
-
Hello @Avery Jacobson ! I want to provide a solution with Power Scripts. 1. Create this script: /* custom fields */ string[] custom_fields_mapping; string newProjectKey = "SYSTEM"; custom_fields_mapping = "STDUP|fmanaila|STDGP|jira-users"; string k = createIssue( newProjectKey, "", issueType, summary , priority,…
-
Hello @VENKATESHWARARAO ! As mentioned you can use many available apps for it (ScriptRunner, MyGroovy, Automation for Jira and many others). I would like to add one more solution with the Power Scripts add-on. 1. You need to create a script like this (let's name this script test.sil): /* select all issues which will be…
-
@Dang Thi Thuy Tien First of all you need to make sure that all your dependencies are bundles which can be understood by OSGI. If not you can do one of the following: 1. make your dependencies as OSGI bundles 2. upack your libraries in your jar file (make compile scope for these libraries in the pom.xml) 3. add to…
-
@Dang Thi Thuy Tien No, you can not add it to the jar file. What do you mean you should upload it manually? If you mean you need to upload it manually while developing an app, then you should upload it only once. Then you can package your plugin and your changes will be applied to your dev instance.
-
@Dang Thi Thuy Tien Sorry, Could you unpack the jira-obr.obr file? The extension of the file must be obr. If you can find the jira-library.jar inside, then go to Manage apps and upload the obr file.
-
@Dang Thi Thuy Tien unzip the jira-obr file and make sure that you have the jira-library.jar in the dependencies folder in the jar file.
-
@Dang Thi Thuy Tien Try to change this line in the pom.xml for jira-obr: <Import-Package>ru.matveev.alexey.tutorial.library.api,org.springframework.osgi.*;resolution:="optional", org.eclipse.gemini.blueprint.*;resolution:="optional", *</Import-Package> to…
-
Thank you @Daniel Ultsch ! It would be nice if Atlassian added more examples to the docs.
-
Thank you! I did use your repo a lot. I liked it. It was easy to modify it. I will have a look at the repo you provided. If I have any ideas I will definately submit an issue or pr. Thank you for making life easier!