Hi,
I am using Lookup issues function within Jira automation to retrieve a set of issues. I then intend to edit a custom field for each of these issues. Can anyone help me with how to go about doing this?
My edit rule is as below where 'Effort Accounted' is the custom radio button field I want to set to 'Yes'.
I get the following error in audit logs:
The automation rule is as below (just for reference) and the highlighted step is what fails
Use a branch rule to look up issue with JQL instead of an action.
You can then add the edit field action inside the branch.
If you need to, you can reference the issues via the {{issue}} smart variable.
In the screenshots below, I am looking up an issue with a specific key via JQL, and then updating its Story Points field, based on the sum of its subtasks Story Points fields.
If the field is not available in the drop down then you can use the addition field text area where you need to pass proper JSON. You can also use smartvalues there but the overall content should be a JSON. I suggest you to take a look at Jira REST API reference documentation to know more.
https://developer.atlassian.com/cloud/jira/platform/rest/v3/
I hope it helps.
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Ravi Sagar _Sparxsys_ I did try using the additional fields section (please see the 1st screenshot in the original message). The documentation I could find about using Lookup Issues only had examples of sending data of individual issues under look up issues to slack/email. I couldn't find any examples of how to edit individual issues under the look up issues list. Are you able to point me to any examples of how to edit individual issues under the Look up issues list?
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.