Comments
-
Assuming this field is a select list, you could use: if (cfValues['My Single Select']?.value == "Some value") or do it the long-hand way, there are lots of examples of that here and in the docs: https://scriptrunner.adaptavist.com/latest/jira/
-
I'm fuzzy on this but IIRC: import com.atlassian.jira.plugin.report.impl.TimeTrackingSummaryBeandef tt = new TimeTrackingSummaryBean(issues)tt.aggregateRemainingEstimate// etc
-
But you have already asked that in a separate question.
-
Don't you think that if someone has gone to the trouble of writing an importer specifically for Trac, that that would be the best way? Why don't you rephrase your question and explain why you think it might not be the best way, or what problems you're having.
-
You could write your own plugin but first I'd ask Huy Phan when he plans to updade it.
-
This could be one of many plugins that is not uptodate with respect to jira 4.4 - or you don't have the latest version... look at your workflow and see what the post-functions are. If nothing special there take a look at the listeners.
-
It doesn't look like a plugin problem, it wouldn't just stop working. But your code might stop working... looks like a problem with greenhopper: Entry to update not found: issueId=27823, nextValue=28106 at com.atlassian.greenhopper.service.rank.RankDaoImpl.setNextForIssue(RankDaoImpl.java:94)
-
And while you're there ;-) I agree with Jobin, a comment upvote has got to be worth 5 or 10 pts.
-
Thanks, that sounds much better weighted. Hopefully it won't be backdated ;-)
-
You might be being naive, or probably I'm being cynical. However, it's worth people getting to the top of the leaderboard, it's going to help get a job, and for partners to get work. So when there's a motivation, people will game the system.
-
I don't think it's a good idea, in fact I dropped a link to the guy in charge of a.a.c about this earlier. As soon as someone realises (as they clearly now have!) it's going to be open to abuse. Correct answer = 25 pts Add a space to your own answer = 15 pts Upvote = 15 pts Those numbers don't add up to me.
-
Yes, conditions are called 3 times, which is crazy, but it's the same for java or groovy. Rather than calling 10 scripts they should be consolidated to one script which should be faster. But yes in general, you are right, if there is anything you should be concerned about performance it's on Conditions. If you have 50…
-
Totally agree about not hard-coding user names, but have to agree about creating a new role. Roles are unfortunately global, and cause no end of confusion when they are not relevant. In most projects the new role would have no significance, yet people will add users to the role, and expect some sort of additional power,…
-
Is it overkill but then it's easy to extend with more complicated conditions if and when you need it. But even with the script runner, it would be better to use the Simple Scripted Condition and just say *currrentUser.name == "smith"*. I'm not convinced of the performance overhead either, not with recent versions anyway...…
-
yeah... you can write a plugin for all the apps whereby you can insert some javascript, and thus create your own nav bar. In jira and conf it's more straightforward, although the plugin method is more reliable, because someone can accidentally blank out the announcement banner/
-
That's jira studio, and unfortunately that code is closed source. You can write your own which I have done... last time I said this I got mildly flamed, singed, let's say. Unfortunately I cannot release the code. It would be great if Atlassian open sourced this code. Maybe they could go the whole hog and ship the whole lot…
-
Hrm yeah... I think you're mixing up the old and the new way of setting up custom script listeners. Been a while since I've looked at this myself but... You don't need the Admin -> Listeners one you set up... although that method will probably work. But if you use that you need to click Edit and specify the path to the…
-
I think you're confusing this community-run forum with Atlassian support. Even if someone is bothered to fill in this massive form, unless the answer comes from Atlassian support, you should not accept it as gospel.
-
You can use a listener... it will be a generic event but you can check the actual action in the event.
-
I'd consider how annoying a user would find this. Seems arbitrary. If you only want to allow it to be entered when an issue is created do as Jo-Anne says.
-
Just seems odd as they say: "EAP releases should not be used in production environments as they are not officially supported".
-
I wonder how you managed to get a milestone release in ondemand... did you ask for it or is it some kind of mistake?
-
Also check if you are using any "Hideable" custom field types, I don't think anything else could cause this problem.
-
Could you create an issue at https://jamieechlin.atlassian.net/browse/JBHV including the full stack trace please?
-
But after indexing turn it on again, and then delete the fields from the behaviours that have been deleted...
-
Try disabling the plugin then reindexing. I think this can only happen with hidden field types
-
+1. The confluence code macro is horrific, it frequently misinterprets pastes containing new lines. You definitely need to preview before you commit that shizzle.
-
should be issue.reporter.mail. Unless you have configured it to create issues as a particular user. In which case you can't get it, as I said you don't have access to the mail object.
-
issue.summary works, but issue.description does not? You can't get access to aspects to the incoming mail directly, eg the headers or the content. All you get is the issue that jira creates from it.
-
Yeah... I'm not sure you've reached the correct conclusion. Can you post any errors?