Comments
-
Sounds like an indexing problem yes. So if you ran the post-function, the do a Admin -> Reindex, everything works properly?
-
This stuff with UserList you've added seems bogus.. what's the point of it? You can't have duplicate usernames in a group. Also use userList for a variable name. You only need one of newIssue.assignee = UserUtils.getUser(user) newIssue.assigneeId = user Are the subtasks created? Any errors in the log? Do all the users…
-
Can you put the whole script on gist.github.com? I can't see your script...
-
I seem to have missed a critical line from the script I wrote for you: newIssue.assigneeId = user Put that line along with the other setters...
-
Hi, no it's sufficent to just paste into a file exactly as is.
-
Can't think of anything which you would not need to code. Here's a script that should work: import com.atlassian.jira.ComponentManagerimport com.atlassian.jira.issue.CustomFieldManagerimport com.atlassian.jira.issue.Issueimport com.opensymphony.user.Groupimport com.atlassian.jira.issue.MutableIssueimport…
-
It's not currently... for some of the built-in scripts you can specify the user to execute as, but not that one. That change is in development currently, should be released soon. It's being done under https://productsupport.adaptavist.com/browse/SRJIRA-1056 - please "watch" that issue.
-
I believe it's to do with mail threading... if the subject is the same certain mail clients (like gmail which is what Atlassian use) will keep it together. Maybe... although I'm not sure because there is a mail header that should let it do this even with different subjects.
-
You can put html in field descriptions. Are you sure the "message custom field" from jira toolkit does not show on transition screens?
-
Very nice! For a bonus you could link to the release notes, you can infer the url from the version ID, eg https://confluence.atlassian.com/display/JIRA/JIRA+3.0+Release+Notes.
-
Marketplace has a REST API, example: https://marketplace.atlassian.com/rest/1.0/applications/JIRA To get the latest version: https://marketplace.atlassian.com//rest/1.0/applications/jira/latest You could build a confluence macro around that, or have something that checks that periodically and builds a confluence page.
-
It couldn't *not* be stored in the database really... Subtasks are implemented as issue links, so everything is in the issuelink table. Join on issuelinktype to filter on particular linking relationships, such as "sub-task of".
-
You can see where the problem is: com.innovalog.jmcf.fields.CalculatedNumberField Try disabling that plugin, and get in touch with the provider to see if they have a fix.
-
@Michael Heemskerk - yep, that looks like the culprit, thanks.
-
Something similar has been happening to me lately. I created a branch, branch plan was automatically created. I merged the branch. Some time later I created a branch with the same name, now bamboo deletes the branch after some period of time, seems to be every day.
-
Try https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-BulkImportCustomFieldValues
-
http://confluence.atlassian.com/display/CONFKB/Can't+Link+to+Local+Files+from+within+Confluence
-
!http://www.google.com/images/srpr/logo3w.png!
-
> Any ideas if this can be avoided? Not really, afaik it's just a bug that I need to fix somehow. What version of jira are you using?
-
You need to have a valid action for the fast-track to do the transition, but you could put a condition on it such that A, B, C are non-empty. Then it won't be available to end-users until the point that that condition is fulfilled, by which time the issue would have transitioned through that path anyway.
-
trigger... is this something you added? I'm not that familiar with mysql, is it what is used instead of sequences in other systems?
-
Cannot see an issue there... Is the configuration of both mysql instances the same, eg storage engine? Any other differences between the two jira instances? Is the failing one a test instance, in which case you could try a different DBMS to isolate the problem?
-
Searching the web I can only see this problem in relation to mysql, although older versions of jira. Have you asked Atlassian support? Do you get this problem only when programatically creating issues?Can you post the full script?
-
Is it the same DBMS in both cases?
-
It's the easiest way, problem is you will need to keep the old jira running (unless you know how to knock up a java webapp). Make sure you point to a dummy database if you keep jira running.
-
If you're not behind apache you can still run one on the old host/port combination. Or get the old DNS entry pointed to the new server and have apache listening on the old port, then rewrite to the new port. Now would be a good time to incorporate apache or nginx into your new setup...
-
But that's just the rules for java/groovy... if I went into that level of detail on every page nobody would ever read it.
-
It needs to be in the right package in one of your script roots - see https://jamieechlin.atlassian.net/wiki/display/GRV/Breaking+Changes+for+Custom+JQL+Functions+in+3.0 and its parent page.
-
The old way is to set a dummy searchbase for groups - should work now as well. BTW you will be (you should be anyway) able to delete the directory if you log in with a user that is nto a member of that directory. So you should always have one user with a strong password that is a member of jira's internal directory.
-
You won't have lost 10 days of data. Try doing a full reindex. Also now is a good time to check that your database backup regime is working properly.