Comments
-
Sorry, what's an "AUI"? In this context.
-
What version of the plugin is it? Did you upgrade recently? Do you have browse permission on the source (and therefore the target) project?
-
I didn't say not to use global transitions, but OK...
-
> To know the name of the action isn't enough for knowing the destination step because it depends on the step on which the action has been launched.Yes, but what I said was "the action name AS WELL AS the current step name". From those two you can know the destination step... which for this action is the source step.
-
I'm not sure why you need to check the destination step name. If the action name is X, and it's a global action you know the destination step name. So you could check the current step name in conjunction with the action name. That said, getDestStep uses the OSWorkflow API, so if it doesn't give you a destination step for a…
-
Not in any sensible way. The only thing you can do is add a validator on Create, which would force the user to change the issue type, but makes for an unpleasant user experience. There are outstanding issues for this on JAC.
-
I don't know of anything else.... The groovy script needs a small change, if you search for it you will find an updated version somewhere.
-
You need to automatically set the issue security level depending on the issue type. There are two possible solutions to this here: http://blogs.onresolve.com/?p=74.
-
That code looks OK, and it should work providing it's the first post-function in the list.
-
Clone an issue and link from script runner plugin should get you most of the way there... plus a host of other plugins that do this.
-
No that wil be fine.
-
Can you add something like: log.warn ("Service running") and check that appears in the logs (atlassian-jira.log) ? Note that if you put it in that directory, the script must begin with package capitalization ...
-
I think that exception is from another custom field, it;s referring to line 23. Maybe you only posted part of it? Also your code is bad, you don't close the connection if there is no result. You should do it like try { ... do stuff return result}finally { ... clean up}
-
More specifically https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+JQL+Functions#ScriptedJQLFunctions-commented(commentquery) But it doesn't support "commented by useringroup X")... the role and group predicated are for search for comments with a particular security level.
-
There is no limit...please check the logs. Also post the full query you are using.
-
That's correct, except that everything should be compatible with the lower version, although as you did not tell us which version you upgraded from it's hard to tell. If it was 3.x you should be fine.
-
Spot the seeder questions! ;-)
-
Yeah. When you go to Issues it tries to rerun the last query you did. Maybe this worked previously but now doesn't. To make it forget the last query get your user to navigate to: <jira>/issues/?jql= To fix the error permanently follow the instructions here:…
-
The error is here: Caused by: java.lang.ClassCastException: com.atlassian.jira.issue.customfields.option.LazyLoadedOption cannot be cast to java.util.Collection This is because Flagged is (normally) a check box field and takes a Collection of Option objects. So changing the last line to: issue.setCustomFieldValue(cf,…
-
No worries, get in touch with us via https://productsupport.adaptavist.com/servicedesk/customer/portal/3 if you need some hands-on help making it work.
-
I'm not really sure what you mean... you can always only create one PR per source and target branch combination. I would recommend using this policy, along with my answer. It's better to get people to rebase at the time they try to create the PR, otherwise they may well not even notice it's out of date. But also you need…
-
Hi Mark... you want a mergecheck. I'm surprised this isn't already in the plugin, but it doesn't seem to be. You can add a custom merge check with the following script: import com.onresolve.scriptrunner.canned.stash.events.BlockOutOfDatePullRequests def pullRequest = mergeRequest.pullRequestdef aheadBehindInfo = new…
-
Or write your own method in your action class to do the same, probably easier.
-
ListTool might already be available somewhere, if not you can put it in the context...
-
> But I don't want to make double loop and iterate over $user in $action.getAllUsers() and check if $user.name equal myUsers[i]. Why don't use just use .contains() ?
-
That's not an error... that's the wsdl document which gives you the endpoints and params etc you can use.
-
If you can, use jquery to add the html when the page is displayed. Then, just the representation of the page is changed, not what is stored, and searched. Depends exactly what you are using {html} for really.
-
That event is missing... I've created a ticket at https://productsupport.adaptavist.com/browse/SRJIRA-2028. Please "watch" it, to know when it's released. Unfortunately many of these events, like this one, don't have a common base class, so got accidentally missed.
-
You should be able to specify the epic name by using this code in the "Additional code" section: import com.atlassian.jira.component.ComponentAccessordef customFieldManager = ComponentAccessor.getCustomFieldManager()def epicNameCf = customFieldManager.getCustomFieldObjectByName("Epic…
-
You probably want a service, or just a subscription with a cron expression. A listener will handle mailing someone when the priority changes to Blocker. But... seriously, take a step back. Mail someone every hour? How absolutely maddening that would be to be on the receiving end of that.