nike free trainer 10 size 85 ovgDO

SKU135566372
nike free trainer 1.0 size 8.5
nike free trainer 1.0 size 8.5
Skip to main content

Free Shipping + Free Returns

Breathe easy, it's on us.

  • women
  • men
  • girls
  • collections
  • community
Products

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Hi there,

I have a numerical custom field, and I'm trying to increment its value through a workflow post function using the Script Runner plugin.

I know this has been asked and answered numerous times before, but I have yet to find a piece of code that actually works. I know very little about Groovy, so I've basically resorted to copy and paste.

This is what I currently have, which does nothing at all:

What am I doing wrong, and more importantly, what should I do instead? Any help is greatly appreciated.

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

This worked perfectly - thanks Daniel!

So I have a status, In Progress which moves to Ready To Test. I want to track when a ticket goes back from Ready To Test to In Progress. How would I modify the above script to allow for that?

Add the above script as a post function in the transition from 'Ready To Test' to 'In Progress'.

Note that the method :

has now been deprecated.

Use getCustomFieldObject ( id) i nstead, and supply the Customfield Id instead of the name.

Maybe it can't be read inside the function:tgtField.updateValue(null, issue, new ModifiedValue(issue.getCustomFieldValue(tgtField), issue.getCustomFieldValue(tgtField) + 1),changeHolder);Have you tried changing the value before like this:def tgtField = customFieldManager.getCustomFieldObjects(issue).find { it.name == "Iterations"}def changeHolder = new DefaultIssueChangeHolder();def old_value = issue.getCustomFieldValue(tgtField)def new_value = old_value + 1tgtField.updateValue(null, issue, new ModifiedValue(old_value, new_value),changeHolder);

Sorry for all the edits, the format was all messed up.

Apologies for the late reply, but unfortunately that didn't work either.

Hi Eric! By any chance have you solved this problem? If so can you please post it on here?

@Daniel Micallef Hi Daniel - sorry to say, but I wasn't able to get it working. I eventually gave up on it because it wasn't terribly important.

Here is an updated example that also works for null values and has code comments!

import com.atlassian.jira.issue.CustomFieldManagerimport com.atlassian.jira.issue.fields.CustomFieldimport com.atlassian.jira.issue.util.DefaultIssueChangeHolderimport com.atlassian.jira.component.ComponentAccessorimport com.atlassian.jira.issue.ModifiedValue;//Update "Churn Number" to the name of your custom field.String customFieldName = "Churn Number";DefaultIssueChangeHolder changeHolder = new DefaultIssueChangeHolder();CustomFieldManager customFieldManager = ComponentAccessor.getCustomFieldManager();//Update "Churn Number" to the name of your custom field.CustomField cf = customFieldManager.getCustomFieldObjectByName("Churn Number");//NOTES: If the current value is 0 use 0 not null. If it is a real number use the real number.def currValue = (Double)cf.getValue(issue) ?: 0def newValue = currValue+1;cf.updateValue(null, issue, new ModifiedValue(currValue,newValue), changeHolder);

Make a terrarium mini-garden

We planted succulents in our terrarium. We picked different shapes, colors, and sizes. Succulents need very little water.

A terrarium is like an aquarium, but for plants instead of fish. It is made in just about any glass container. It is planted to look like a miniature garden or forest enclosed in its own little world.

You can easily make a beautiful terrarium yourself.

First, you want all the plants to thrive in the same kind of environment. For example, you could plant all succulents (including cactus), because they need very little water. Or you could plant all ferns, because they like it moist. You could put moss with the ferns, because moss likes it moist too. If you put a fern with a cactus, one or the other might not do well (the fern if it gets too dry, the cactus if it gets too wet).

You can use an open container or a closed container.

An open container is best for succulents and cacti. They like lots of air.

A closed container (with a lid) might be best for ferns, ivies, and begonias. They like it humid. But if you see a lot of water condensing on the lid, remove it for a while, then replace it.

For any terrarium, you need:

Optional:

Make sure your glass container is clean and shiny.

The layers of rock and soil are part of the beauty of your terrarium.

Start with a layer of rocks, about one inch or so, at the bottom of your container. These will help the soil drainage, so the roots of your plants won’t get water-logged.

Add a 1/2-inch-thick layer of charcoal.

Fill the container up to half-full with potting soil.

Plant your plants. When you remove them from their little pots, carefully tease the roots apart and remove some of the old soil so they will fit nicely in the terrarium. Arrange them to look nice. Leave some space for them to breathe and grow. Pat down the soil so they don’t get uprooted easily.

Add decorative pebbles, rocks, pine cones, or whatever to make your terrarium look like a little garden world.

Water the plants, but not too much.

Place in indirect light.

Meet a "xeriscaper," a person who landscapes beautiful gardens that use very little water.

A terrarium has its own mini-climate. The container has just a small opening or sometimes even a lid to completely enclose the container. That makes a terrarium like a greenhouse. Sunlight enters through the glass and warms the air, soil and plants the same way that sunlight coming through the atmosphere warms Earth’s surface. The glass holds in some of the warmth, nike air max 90 limited edition 2015

black nike blazer mid vintage

Aspect Foundation is a non-profit organization providing affordable study-abroad opportunities to students from all over the world. Contact us at exchange@aspectfoundation.org or call 1-800-US YOUTH (800-879-6884). Aspect Foundation operates under the criteria of the US State Department Exchange Visitor’s Program, whose offices can be reached at 1-866-283-9090 or jvisas@state.gov.