Hello Community,
While using the jira automation feature for the UseCase. "Move EPIC to Ready, when issue is transitioned to New State, after meeting few conditions.
As per the restrictions imposed by my product, for a epic to move to UnderRefinement from New state, one of mandatory field is "Sponsoring Product/ Area Product".
Through manual Jira edit, this field gives me a drop down option which i can choose. However, when i am trying to edit this field through automation it is throwing me this error "Unknown fields set during edit, they may be unavailable for the project/type. Check your custom field configuration". /" No Fields or field values to edit for issues". Although i did observe that while setting the automation rule, when i set the value to this field, the exact name is not getting populated hence it is unable to match the required field.
When i checked my field settings through Admin console, i could see the fields are mentioned for my project.
Anyone can help me mitigate this issue?
TIA
Sanjay
Hi @Sanjay Dangi -- Welcome to the Atlassian Community!
For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected. Those will provide context for the community to offer ideas. Thanks!
Kind regards,
Bill
Apologies,
I do understand that I should have forwarded the screenshot. However, due to company restrictions, I could not that. Attaching the photos, if this helps.
Thanks and apologies again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem is related to the order of your rule steps and the issue's state...
When a rule edits an issue, it uses the state / field values at the time the rule loads. And so each of your edits is restarting from that point. The same is true for issue transitions.
First, I recommend combining all of those field edits in one action.
Next, please add a Re-fetch Issue action after that revised edit action. That will reload the issue date before proceeding.
Finally, add another Re-fetch after the first transition, and before the next. This will again reload the data before proceeding.
Thus you revised rule could be...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Thank you for your response. However, I am still facing the same issue with one particular field (I.e, sponsoring product/area product).
What I have noticed is that during my manual edit on epic l, when I try to update this particular field, it gives me a drop down list from where I can select the retired product. When it comes to automation "edit issue field", those drop down options (product names) are totally different what I have on the epic and most probably it is not matching with the product names and hence, it is throwing this error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First thing: please review that audit log as it shows two different custom field id values for "sponsoring product/area product"
This indicates there are at least two different fields with the same name. I recommend investigating that before making any rule changes.
Regarding what you described for the available field options in the dropdown list, is that field somehow dynamically loaded with values?
If so, the list shown when editing a rule may be based on the permissions / access of the person editing the rule. When a rule runs, it will be based on the rule actor (or the person triggering the rule by transitioning the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sanjay Dangi and welcome to the Community!
Can you post the part of the rule where you try to populate the field?
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.