I am trying to setup an automation rule that would remove value from the roadmap field (set it to empty) in case when issue (idea) is moved to done. With some googling, I understood that this might be possible.
I have a rule "When: Issue transitioned to Done" then "Edit Issue fields". I have kept the "Choose field to set" empty and under additional fields I put:
{
"update" : {
"customfield_10130" : [{"set": []}]
}
}
I found the field ID here: https://[baseurl]/rest/api/latest/field
I also verified that the custom field belongs to our JPD project (we have only one created) under https://[baseurl]/rest/api/3/project/[projectkey]
When the rule triggers, I get the following log:
Unknown fields set during edit, they may be unavailable for the project/type. Check
your custom field configuration. Fields ignored - Roadmap (customfield_10130)
Any ideas on what I might try to make it work?
@Tomas Greif I did this yesterday actually, but for when we "archive" an idea. Here's a screenshot to do it with the out of the box automation. You just leave the "roadmap" field value blank.
Thanks @Adam Sadowski . I get the same error as before. I have even tried to create my own custom field and then apply the rule. I still get the following:
Do you have any elevated access rights in you JIRA instance? I am admin in the JPD project, for other JIRA related stuff I am just a regular user. I can't think of much else what could be causing this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Tomas Greifdid you ever get this working? I'm facing the same issue with setting the roadmap field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do something similar, but different (so this may not be of interest to you but I thought I'd mention it).
Instead of removing the value from the roadmap field, I've defined a value Shipped that I use. (This is so that I can distinguish between ideas that have shipped and those that haven't yet made it onto the roadmap).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you checked if that's the right field for the project where you are running the automation?
JPD has fields per project - in my instance we already have 10 Roadmap fields ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Michal Vit . I checked the project id under https://[baseurl]/rest/api/3/project/[projectkey of our JPD] and it is matching. Fortunately we have only one roadmap field so far :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.