Comments
-
I thought about it. Liked trololo better :D
-
Surreh: That happens because links do not have keys, they have the JIRA numeric ID for issues. The link object does not contain two issues, but a reference to both of them in form of their numeric id. What you need to do after you get the link is to do a: IssueManager.getIssue(destinationId) IssueManager.getIssue(sourceId)…
-
Suresh. What if you remove the if clause: import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.issue.link.IssueLink def issueLinkManager = ComponentAccessor.getIssueLinkManager() def linkedIssues = issueLinkManager.getOutwardLinks(issue.id) def keys issueLinkManager.getInwardLinks(issue.id).each…
-
Suresh: In JIRA there can be outbound links and inward links. If inwardlinks isn't getting you what you want, use the outwardlinks like so: import com.atlassian.jira.component.ComponentAccessor; import com.atlassian.jira.issue.link.IssueLink import com.atlassian.jira.issue.Issue; import…
-
It did say "Friday fun" :D
-
Kaleo-Bang Bang: https://youtu.be/U4Km0M9x4Bg Imagine Dragons Remix: https://youtu.be/wpncVSoZcJ0 The new System of a Down single, just released 2 hours ago, loved it: https://youtu.be/zX5XasRcGBg
-
Hi Maya. If it is a static type error, does it mean that you haven't actually run it yet? Do you mean that you are getting one of the small red crosses in your code? If so, that could mean that it isn't broken at all. Could you save the script and run it? Cheers DYelamos
-
If I may: you could try to change your approach. When with an issue like this, I always say, "try to simplify the problem, and make it work in it's simplest form" Try this: import static com.atlassian.jira.issue.IssueFieldConstants.ISSUE_TYPE import com.atlassian.jira.component.ComponentAccessor import…
-
This is a duplicate of https://community.atlassian.com/t5/Adaptavist-questions/Changing-rank-through-the-API/qaq-p/660706
-
Hi Nicolas. This is a known SR bug, that you can watch and read about in our customer support portal, in the relevant issue, which is here. As you can see it affected 4.3.8 and below, so if you don't want to update your instance I'm afraid there's nothing more we can do for you. Do say if I can help you further. Cheers!…
-
Can you include your code please?
-
Jerome. Belonging to one of the companies that makes add-ons like this(that would cover your necessities by the way) I can tell you that there is no conspiracy here. Atlassian brings a huge platform that has a ton of different use cases, they are unable to cover every single one of those use cases, and even if they did,…
-
Hi Eduardo. This would be a bit hard, since a software project has no concept of SLA. You might be able to do this with Scriptrunner for JIRA and some custom coding, but I'm not entirely sure. Why don't you make a workflow and a subset of issues that look pretty much like your Software Project in a ServiceDesk project?…
-
You can also check out our documentation here.
-
Hi David. I don't know if #2 is possible to be honest.. Regarding how to send you email in HTML, Jenna answered a question about this awhile ago, you can see it here. I'm going to try to search for an example you can use. Cheers! DYelamos
-
Claire. I saw your support request this morning and I'm currently working on it. What I can tell you now, is that subtasks, weren't originally meant for JSD as you can see here Also what I can tell you is that currently we're adapting a lot of our scripts to JIRA SD, but currently I don't think this is supported. As soon…
-
Hi Michaela. This as I explained before is quite complex. As a client of scriptrunner you have access to all of our code within the JAR. How our functions work are as follows: 1. You have a map of strings to strings with all of the paramethers. 2. You should create an instance of the function that you are using, in this…
-
Hi Rashmi, The JS injection is done through a script fragment. You can find more info about this here Cheers Dyelamos
-
Sergio, first of all, you are contradicting yourself in both of your comments. In the first comment you state that: "I have six subtasks. A B C D E F" But then in your other comment you say that "If these subtasks are C D E issuetypes." Aren't A B C D E and F subtasks? ------------------------------------------------…
-
Hello Sergio. Your code looks alright, you are going to have to look at the JIRA logs for this. Beforehand, put this in your script: import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.issue.MutableIssue def cf1 = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("Nombre…
-
Hi Michaela. The code would be quite complex. I would recommend you simply use the predefined clone postfunction twice. Would that be an option? Cheers! Dyelamos
-
Hi Sergio. You could do this with a custom listener, or with a custom post function. In this article you will find a bit of information on how to autoclose subtask. You would need to do something similar, but with a resolution like "rejected". If you do need further help let me know. Cheers! Dyelamos
-
What my friend Stephen really wants is for you to accept his answer so that other users can see that this has been answered :) Cheers!
-
Hi Christian. I believe if you want to do a certain type of request, you must have OAuth for both inward and outward connections for JIRA and Confluence. I recently "demoed" a use case with both Confluence and JIRA and I could only get it to work with that configuration. I was making a request to create a page. Which…
-
Hi Monika. Without seeing your code, there isn't much that I can tell you. As far as I know, so long as you close the DB connections that you open, and so long as you only fetch and not write, you should be in the clear. Do you have a test instance that you can stress test it for? Cheers! Dyelamos
-
Hello Roberto. If you look further down the article, you will see that the user was wrong on his first approach, and later on, was able to work it out with this: import groovyx.net.http.HTTPBuilderimport static groovyx.net.http.ContentType.*import groovyx.net.http.ContentTypeimport static groovyx.net.http.Method.*import…
-
Jeeva. I'm curious enough to want to help you with this. But I must admit that I don't have a single clue as to what it is that you want me to help you with. You have given me a workflow that you have designed, and I suppose that you are asking for a scripted automatic transition? Please give me a specific example of what…
-
Hi Roberto. I recently did an answer on how to use our HTTP request method from inside JIRA to make a request to any link. You can find relevant information in that question. If you are still struggling. Could I ask you to give me an specific example of what it is that you want to accomplish? Cheers Dyelamos
-
No problem. Could you please accept my answer so that other users know that this has been correctly answered? Thanks! DYelamos
-
Hello Kevin. Yes this is entirely possible using a postfunction. In the simplest case, let's say that you want to copy the original issue to the Epic and then to the task. You would need to: ----------------------- 1. Go to your workflow. 2. Edit your workflow. 3. Go to the transition that you want this to trigger on: 4.…