Hello, When splitting an issue I want to get the "split from" linked issue in the "Create" postfunction. However, the returned link list is empty il = ComponentAccessor.getIssueLin...
I'm currently working on a Jython post-function script that will copy the input of a field (separate Jira project) on a screen from a transition in Service Desk and make a copy of the Jira SD t...
...() But I get an error with those parameters: root cause: Traceback (most recent call last): File "/home/jira/jss/jython/workflow/testmer/test.py", line 35, in <module> s...
...he listeners. #Jython code from com.atlassian.jira.component import ComponentAccessor if (issue.getIssueType().name == "Story"): currentUser = C...
...he plugin Clone and Move, but it only works for 1 issue -> 1 project --> I tried to use JSU Jython post-function, but my company's Jira system admin told me to NOT use Jython script because of i...
Hi to all i need some hellp I need to get the version status that is in the field Fix Version. On any language Jython Pythone JS I'm not a programmer, but I tried to do that: S...
Can anybody help me to translate this script from java to jython? <script type="text/javascript"> function validate() { if (document.getElementById("customfield_19600").value.length >3...
Hi all, I had the exact same problem to solve that in this question , but when I used the code posted there in a Jython post-function script I get the following e...
I am trying to trigger a transition in a jython script using: workflow = com.atlassian.jira.workflow.WorkflowTransitionUtil workflow.setAction(761) This doesn't work a...
...ame code over and over. I took a look at jython, or simply trying to make a general class using java and taking parameters but TBH i don't even know where to start. Does anybody has anything b...
Hi all, I have to activate a jython script under bamboo, but unfortunately I was not able to find info about available plug-in's or capability to execute a script as already suggested in previous r...
Hi, I am attempting to create a worklog in post function using a Jython script. The issue that I have come across is that to create a worklog, you need a worklog object and I cannot seem to figure o...
I had a jython script as a post function that would automatically set select list fields in JIRA based on information from a database. This is no longer working after updating. I get no errors or a...
...y.java:1261) at org.python.core.Py.exec(Py.java:1305) at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:215) at com.quisapps.jira.plugin.workflow.JythonValidator.validate(Jython...
It looks like the Jython Script Runner is breaking since the JIRA 7 upgrade as even on a blank script, it shoots back the following error message: 'com.atlassian.jira.ComponentManager' object has n...
...ould have to be Jython or Groovy - that could query a SQL or Oracle database using username/password/dbserver info specified by a reporter from required Custom Fields and return a value from that d...
I wrote a post function with python using jira scripting suite. it doesnt show duedate. what is wrong with my code from com.atlassian.jira.issue import Issue from java.sql import Timestamp impo...
I am using SetDueDate() function in my post function on jira scripting suite. This page says https://docs.atlassian.com/jira/6.3.1/com/atlassian/jira/issue/MutableIssue.htmlafter calling any setter m...
I am writing a post function with jython. i want to use SetDueDate method so i have to use store() but store() method is deprecated. what else can i use for update issue.
Hello i am new on jira. I am writring post function in jython with jira scripting suite. https://docs.atlassian.com/jira/6.2.7/com/atlassian/jira/issue/IssueManager.html what kind input should i...
hello everyone, i am new on jira. i am writing a post function on scripting suite with jython(python). i need to edit due date. how can i do that.
on this link there is a interface https://docs.atlassian.com/sal-api/2.6.0/sal-api/apidocs/com/atlassian/sal/api/user/UserManager.html how can i import that to jython validator. and how can i use g...
hello i am new on jira. i am writing a validation. i wrote this from com.atlassian.jira.issue import Issue user=issue.getReporterId() user returns string username. i have to find user's gro...
Hello i am new on jira scripting suite. . How can i get groups ? Basically,what i need if group == "administrators": do something else print "you dont have perm" what i have t...
I tried below script for that, its able to create sub task but not getting assinged to a user from com.atlassian.jira import ComponentManager from com.atlassian.jira.util import ImportUtils f...
Copied to clipboard
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.