Comments
-
I was thinking of trying to standardise the different ways of updating issues in the Additional code section, not come up with anything concrete yet though.
-
No problem. I expanded the answer a bit. Keep experimenting though!
-
Your basic issue is you are not saving the issue back to the db, so you could just add issue.store() But that won't reindex the issue so you won't be able to find it in searches until someone else edits it. The correct and best way to do it is use IssueService: def issueService = ComponentAccessor.getIssueService()def user…
-
Listen to Nic, he knows ;-) If you've done this already you can repair with https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-BulkFixResolutions
-
Calculated fields (of any type) do not seem to be available on edit screens - vote for or watch https://jamieechlin.atlassian.net/browse/GRV-210
-
Calculated custom fields are only updated when the issue is modified (or you reindex). Might be easier to write a report or gadget which shows the age, rather than using a custom field.
-
ScriptRunner has JQL functions to show addedAfterSprintStart, and removedAfterSprintStart if that's any help.
-
you should not have to manually reindex unless you change the field searcher. For a number search you should return a Double.
-
Yes - but please make sure the searcher is of a type suitable for your return value. Script fields preview will tell you if you've got it wrong.
-
Donation link here https://jamieechlin.atlassian.net/wiki/display/GRV/Getting+Help ! Alternatively donate a couple of quid to http://www.cosmiccharity.com/ then we can both feel good about ourselves ;-)
-
You need to put something like this script in to somefile.groovy, then set up a groovy service to run it: https://gist.github.com/jechlin/9652240 Not tested... well, I ran it in the console and it was OK. https://jamieechlin.atlassian.net/wiki/display/GRV/Services In your other conversation with me you were saying you…
-
This is normally caused by app monitoring tools that rewrite bytecode - please see https://productsupport.adaptavist.com/browse/SRPLAT-2 If possible can you disable the tool, possibly on a staging instance, so we can confirm the cause.
-
Don't you just want to OR the two clauses together, ie ("Start Date"<= endOfDay(7d) and"Start Date">= startOfDay()) OR <br>"Change Start">= startOfDay(-7d)
-
Hrm... your code is not checking the parent issue though. The intuitive answer would be to use a validator something like this: def customFieldManager = ComponentAccessor.getCustomFieldManager()def cf = customFieldManager.getCustomFieldObjectByName("My Custom Field")issue.parentObject.getCustomFieldValue(cf) == "Yes" but I…
-
Have you tried the (free) jira gannt chart plugin? Personally I've had issues with the way it wants to create about 6 custom fields, but it's worth a look.
-
You can try script runner and use the jql issueFunction in commented ("by username") Can't point you to the docs at the moment because the site is being moved.
-
The tempo guys would need to explain how you retrieve an Account object. The closest I could find is https://answers.atlassian.com/questions/36114783.
-
Also the full stack trace could be useful, please could you create a ticket at https://jamieechlin.atlassian.net/browse/GRV
-
If you go to admin -> built-in scripts, then click on "Allows the transition if this query matches a JQL query " - down the bottom in the blue box it should say "Loaded from bundle://...". Presumably this will fail, but if it does not what is the url that it gives (beginning with bundle://") ?
-
Don't think I've seen this one - can you try disabling and re-enabling the plugin? Restarting jira? Any reason it was uninstalled and reinstalled?
-
Yes entirely possible. User Directories -> Add your LDAP directory, "user object filter" under User Schema settings. There you could use memberOf or whatever to restrict to your group(s).
-
I don't know, they wouldn't be surprises if I had predicted them ;-) I'm sure you are right, but jira DC was announced a long time before summit, Confluence DC had been around previously in a different guise. Service Desk, great, but I don't see that they've made something similar to other vendors, license wise.And yes,…
-
It's confusing. This is the best explanation of the different types of users and why they exist: https://developer.atlassian.com/display/JIRADEV/Renamable+Users+in+JIRA+6.0 issue.assignee and assigneeUser are synonyms and return a com.atlassian.crowd.embedded.api.User. I don't know why two methods are required. assigneeId…
-
The next update to IE is a long time away where I work :-( Apparently IE10 is supposed to be quite good.
-
OK, thanks @Alex, rock on rapid board then. @James, no problem. Going to mark my own answer as correct then, in that, right now performance is expectedly bad in IE8.
-
IMHO the problem is still as mentioned in one of your blogs: resizing...
-
The above is with GH 5.8.6, although still jira 4.4.3 (AO plugins updated).
-
This is doing my head in... something seems badly wrong with IE8. Has anyone got an idea why it seems to just sit around for 7s before even executing the js... I would guess some antivirus but I disabled that:
-
Yeah, you obviously don't work for a bank. I wouldn't let my dog use IE, but the practicalities of trying to change the browser strategy and get 60,000 users on Chrome are, maybe not insurmountable, but large. I am doing what I can in that area, but I think we also need GH optimised for IE.
-
I created https://support.atlassian.com/browse/GHS-3867. Would be great to have someone familiar with this issue take it up, so I can avoid having to tell support that reindexing is not going to help in this case. Unfortunately IE8 is the mandated browser so this is having a big impact on the perception of jira. Unfair, on…