Comments
-
You're comparing strings in the if statement, so it should be if ("iType".equals(issue.issueTypeObject.name) ) Rest of it looks ok at a glance.
-
Same answer - you'll need to replace those post-functions with others with more code in them, code that can detect the existing sub-tasks and exit before creating the duplicates. Or duplicate the transition and have one that has conditions saying "only if no subtasks exist" and the other one with a condition of "subtasks…
-
How are you creating the new sub-tasks? If it's a post-function to create them, I'm afraid you'll probably have to replace it with something more clever - something that executes a search for existing sub-tasks before it creates anything.
-
Sorry, what? "How to ..." is bad English, but English is a terrible language to learn, and we know what you really mean is "How do I ..." (Heck, English is my first and only language, I went to a grammar school, I'm old and should know better. And my little sister still corrects my English. Although I could argue quite…
-
No. You can't even do that on Jira if you host it yourself. There are plugins that might help you - behaviours and the field security plugin are the two that spring to mind, but I don't think either are usable in OnDemand. You do have the option of controlling edits by doing it all in the workflow instead though - you…
-
That would be rather ugly, and I suspect it will fail (even if it doesn't, it'll throw a lot of errors as JIRA tries to do things with stuff you've just killed off) I would move it to a listener - look for the event your transition fires and have the listener perform the delete after the transition has finished. (Oh, and…
-
Sounds like there's something corrupted in your source data. To perform the import, I would be tempted to "fix" the data - go find the id for an issue (the numeric 12220 like number rather than the ABC-123 key), then edit the xml in the export, adding the id you find to the line where the customfieldvalue for id 11943 is…
-
Custom fields -> the field -> configure will take you to the context list. Find the context you're interested in (there's often only a single one), and it's in there
-
You could try it with a lot of code. Or just set the context for a user picker field and use the built in "only show people from group/role(s)" function (it's a more recent function, so you need to be on quite a recent JIRA to have it)
-
Look at a project that they should not be able to see. Go into it's permission scheme and look at the "browse" line. It will be including those users somehow. The most common culprit is "Jira users". Atlassian have a really bad default model where they use "jira users" to mean "can log in" (which is fine in itself), but…
-
Depends on the evaluation licence you've got. The generated ones last a month.
-
No. There are some add-ons that allow you to copy config from one JIRA to another, but there's no macros or built-in transfer function.
-
I don't think the count is wrong, I think the SQL does not match the question. But I do not know what SQL you're actually effectively running. I'm not a DBA and I only really get the basics of searching - could you show me what you're running without obscuring it with "as" statements ? (I know they simplify it for DBAs,…
-
Ok, that looks good to me, assuming you are on JIRA 6.2.1, 6.3 or 6.4, so you need to check why the UI is returning a different answer. How many people have you got in each of the "can log in" and "admin" groups?
-
My guess is that the SQL query is not correct. First, look in Global Permissions in JIRA - what group or groupS are named for "JIRA users" permission? (Also note the two administrator lines, although the users in there are probably in the user groups already) Then tell us what the SQL is you're running.
-
No, you just need the database and the attachments.The backup of the installation will make it easier to recover in a disaster, but you could skip it if you are happy to re-install from scratch (this assumes you have not customised anything of course), and then point it at the recovered database and attachments.
-
The Jira backup process backs up your Jira data. I'm not sure what else you are looking for or expecting here?
-
I don't really understand the question. The backup is the backup of JIRA. All your data from the database plus the attachments. You can rebuild a JIRA from that. That's it, what else do you want from it? Other stuff is not JIRA data, so it's irrelevant to a JIRA backup. (Onkar has covered everything else I was tempted to…
-
There's nothing to stop you asking (and I'm sure it's already a request somewhere, but it's not one I've got bookmarked). There are some structural issues against it though. 1. When you're working in the issue navigator, you're actually only seeing the index data. I don't know if that's much of an issue, but it could be.…
-
I used to find the confluence RSVP macro good for this, but it's no longer maintained. I'd have a look at the marketplace - using the keyword "survey" brings back some options I'd look at (not quite an attendance register, but there could be something there that would do the job for you)
-
JIRA is permissive rather than restrictive (with one exception). You don't set it up so that people are stopped from doing things, you set it up so that they have to be allowed to do it. For issue edits, have a look at the permission scheme for the project. That lets you say "only people who match this rule can edit the…
-
To answer the main question, https://confluence.atlassian.com/agile066/glossary/story-point The picture you've posted is a little hard to explain without a little bit of background. I'm going to oversimplify this a bit too, and leave stuff out. The idea behind Scrum is that you've got a pile of stuff that needs doing…
-
It should be, yes.
-
The enhancement requests to do this have mostly been shut down as "won't do" by Atllassian, as the checks for data consistency need to be done when moving issues. Some are still open (like the simple status to status I mentioned below)
-
Although I do wish they'd code for "oh look, the current status of the issue exists in both workflows, so I can do this".
-
I'm afraid it needs to go through "move" to check all the data is valid. You'll have to make the workflows the same, or live with a "hard" move.
-
You can attach any files you want to a JIRA issue.
-
You don't need to code, you have already installed something that can do it for you! Have a look at the functions available on the transition you are doing.
-
Ok, you have an add-on that provides the code you need. The second function is the one you need - you should find you can select a field and it will be copied when you go through a transition (such as "create")
-
You'll need code. JIRA can default some of the system fields, but that's it. If you want to "inherit" more, you'll nee to write code to duplicate the things you need. I'd strongly recommend not duplicating the summary though - it should be indicative of what the sub-task is for as part of the whole, not just a copy of the…