Comments
-
For labels custom fields try this: cfValues['Labels Custom field']*.label.every { it ==~ /\d{4}\-\w{8}/ }
-
You need to get a MutableIssue, by using issueManager.getIssueObject(issue.id) Then you can set the field value. But you should probably use IssueService to do a proper update. Here is some code to update a field without creating a new change item and all that: def tgtField =…
-
jira 6 has that built-in... as soon as I finish doing 60 other things concurrently I'm going to remove that functionality.
-
Presumably wouldn't work unless the user has their language set to English... guess there are no IDs on the elements...?
-
Exactly right, thanks Petar. Unfort it's a bit confusing because it's different from the wildcards used elsewhere in Lucene.
-
Don't try this in 4.4, or you will get data loss... As well as what eva says you should change the indexer and reindex, or just use a script.
-
Pretty much completely broken, yes. I think they may be fixing this stuff soon. In the meantime just use google with the site operator (site:https://answers.atlassian.com rest browser): https://www.google.co.uk/search?sugexp=chrome,mod=7&sourceid=chrome&ie=UTF-8&q=site%3Ahttps%3A%2F%2Fanswers.atlassian.com+rest+browser
-
Just my 2c, but I don't think confluence is the best place for API docs, eg javadoc or whatnot. You should give something like nexus OSS a try.
-
I would not even worry about this until you've tried it and it doesn't work. At worst you will have to do some XML-massaging. It can't be that hard... As you say, RC2 is close enough to final for this to be unlikely to be a major problem.
-
Not sure if doing this for production data is that common. But just give it a whirl and post back if it doesn't work...
-
Check your logs and post anything relevant?
-
Try reading the comprehensive script runner documentation. If you are not technical I'd advise you to wait for Bob's non-programming solution.
-
Update: see https://jamieechlin.atlassian.net/wiki/display/GRV/Interacting+with+Confluence+from+JIRA Old answer from 2.5 years ago: It doesn't take much programming. Eg, using the script runner plugin, set a script post-function on issue create, the script might be: package examplesimport…
-
I think you made that work for the case where you name a particular user, or for the current user, but you can't do what you actually asked for - which is just to find the issues where they are the same. If you actually need that you could write a new JQL function, but it would not be able to do it using a "pure" lucene…
-
There were major changes to the scheduling mechanism in version 4 - can you try that? Warning: version 4 is commercial.
-
hi, what version of jira and the plugin is this?
-
Does it skip days, or do you think it never runs?
-
It's possible if there is a remote or java API for it... whether they make it easy to access that API is another matter. To be honest I don't know, I'd consider asking a new question.
-
Yep... there is a lot of good info there... in fact that's pretty much the sum of human knowledge outside Atlassian about how GH stores its data.
-
I would refer to Shawn's comments here: https://answers.atlassian.com/questions/96142/how-to-get-sprint-issue-list-by-sql As far as I know, any issue can be in only one planned sprint in any given board. But, I believe it can be in different planned sprints on different boards, so I think you will need to traverse the…
-
But I still don't think what you've said indicates that confluence is running on one processor only... sounds you like you have a problem but not that it's because of processor affinity.
-
oh ok my bad... not sure why I assumed windows, I normally assume the reverse.
-
Do you know this to be a fact? Have you run eg process explorer from sysinternals, and checked the processor affinity for the java process? (Possibly vanilla taskmgr can do this too, haven't used it for a while). I think it's much more likely that one particular thread is causing you a problem, ie eating all the resources…
-
!('Yes' in cfValues['Select List']*.value) || cfValues['Text Line']
-
'Yes' in cfValues['Select List']*.value || cfValues['Text Line']
-
cfValues['Select List'].value != 'Yes' || cfValues['Text Line'] should work if it really is a single select and a text field.
-
I think the problem will be that the links are not available at the point that he needs it.
-
Yes, it deletes all customisations. You could try the script runner plugin (https://studio.plugins.atlassian.com/wiki/display/GRV/Script+Runner) which has a built-in script to copy a project with customisations (but without issues).
-
You can't without messing with the database. Just delete and recreate the project.
-
what are they escalating, that they can write a field that they should not be able to? How come this suddenly became an issue.