Comments
-
put the post-function in the end of the list of post transition operations
-
Add proper logging and print the user object and what line of the script is showing the error?
-
Did you see the log files? atlassian-jira.log?
-
Also import watcherManager
-
For error you have to see the log files.
-
def user = userManager.getUserByKey(userName) change it to def user = userManager.getUserByName(userName)
-
Have you imported the ComponenttAccessor class?
-
I shared only the method declaration , you have to invoke the method with required parameters.
-
In the watcherManager there is a function, which should do the trick. @Nonnull public Collection<Issue> stopWatching (ApplicationUser user, Collection<Issue> issues, Context taskContext)
-
Please read here - https://jamieechlin.atlassian.net/wiki/display/GRV/Upgrading+to+3.0 (Script roots) and make sure the package is com.onresolve.jira.groovy.jql that should do the trick.
-
PLease see here - https://scriptrunner.adaptavist.com/4.3.3/jira/custom-jql-functions.html " To make life easy you should extend com.onresolve.jira.groovy.jql.AbstractScriptedJqlFunction. You need to implement getFunctionName(), getDescription(), and getArguments(), which simply provide information to the drop-down list,…
-
The link of github was sample code, script runner versions have changed and so have the APIs. In the error it says "getFunctionName()" not implemented, i don't see this method in your code. Also same for other errors.
-
When you extend an Java class then you have to implement the abstract methods in the super class in your case, the abstract class is -AbstractScriptedJqlFunction See an example here https://gist.github.com/jechlin/11153795 So you have to implement all the abstract methods
-
https://answers.atlassian.com/questions/209976/share-issue-in-multiple-sprints
-
Once you release an issue, you just have added the "fixVersion" to it, now in order to search them you can write a JQL and use the fixVersion value to search for the released issues.
-
Hi Mohin, In the ViewSystemInfo page there is license information which contains the details.
-
Have you looked at folio plugin? http://folioforjira.com/
-
Have you looked at folio plugin? http://folioforjira.com/
-
It should be easy as Portfolio permissions override GLobal JIRA permissions, thus grant the 2 users access to the portfolio globally and that should do the trick though individual portfolio plan access can also be configured easily.…
-
You have to put the post-function at the end of the list of post-functions in case of create transitions.
-
Your syntax is incorrect, you have to use customFieldManager and issuse.getCustomFieldValue() method. Please see here - https://answers.atlassian.com/questions/188266 And once you have the value you just need to update the value based on if condition just like - https://answers.atlassian.com/questions/211505
-
Implemented it by using reflection API in the velocity templates.
-
that's the whole point of hierarchy, if you have epic and story as direct children then stories can't be the children of the Epics that's the tradeoff
-
Hello @Kenny Kutney I am using portfolio 2.1.5 (hosted) and it's possible to have Epic and Story at the same level and add another level on top of it. Why don't you upgrade your portfolio on Cloud and do the configuration in the "Admin" section of the portfolio and change the hierarchy as at any level you can add multiple…
-
So you had to change the post-function?
-
Strange, make sure you are "publishing" the workflow, it's a common simple mistake, which is prevalent
-
exactly which post-function from the plugin are you using?
-
Please make sure the assignee as "Assign" rights in JIRA project otherwise it seems like a bug.
-
"Please check both this problems on top priority as we are facing lot of issues in communication due to this." This is an answers community NOT the atlassian support. Regarding your problem - are you sure all users have the right permissions for the project, also check that the notification scheme is working fine by…