Hello,
I have a custom field (single line) that I am populating with the possible values
Small (weeks),
Medium (months),
Large (quarter)
XLarge (quarters),
XXLarge (year)
which once filled out (on edit) I want to match with another custom field that has these exact same values and via automation have the same value selected and saved.
Hi @Mike Singleton, here is a similar post where you can get some insights into implementing it using Automation for Jira. Have a look, and let us know if you can apply it to your use case.
I don't think I need to clear the field "T-Shirt Size Estimate" just copy the value from the other field "Build". What would I modify in the statement below to do this?
{
"update" : {
"T-Shirt Size Estimate" : [{"set": []}]
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried with no luck
{
"fields": {
"customfield_11305": "{{issue.customfield_11304}}"
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Fields is a shortcut for calling update with the set operation. See more details here. I'd suggest breaking your implementation into smaller steps so you can resolve one piece at a time. For a single-select custom field, you should be using the following:
"customfield_11449" : { "value": "option3" }
or
"customfield_11449" : { "id": 10112 }
Once you make that work, you can use a smart value to set the option. See Find the smart value for your field for more details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
so it would be something like
IF the value in the source field (11305) is "Small (Value 10491)" then update the target (11304) with that value?
{
"fields": {
"customfield_11304" : { "id": "10491" }
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.