Hi Community,
I need your advice about custom fields.
We would like to update a custom field that we are currently using. For newly created issues, we can populate this field by triggering a post function during the Open / Work In Progress transition, and that part works fine.
However, we could not find a way to apply the same change to issues that are already in Done or Closed status.
Is it possible to update a custom field (field value) for issues that are already in Done or Closed status, either via workflow, post function, or automation?
If yes, what would be the recommended approach?
Example:
The Project Name custom field should be populated from the linked issue’s summary.
We can handle this with a post function while the issue is in Open / WIP, but we could not find a solution for issues that are already Done or Closed.
Any advice would be appreciated.
Jira Cloud
Standart Plan
Hi @nida ergenç
You can add a transition from the issues in Done/Closed to Done/Closed and add a post-function on this transition.
Or make a transition that reverts to itself, see; https://community.atlassian.com/forums/Jira-articles/How-to-create-global-looping-transitions-in-a-Jira-workflow/ba-p/1135968
Custom fields on Jira's Done/Closed issues can indeed be altered! Add the jira.issue.editable property (set to true) to those statuses in your workflow, then publish the changes. For bulk updates, like filling in Project Name from related issues, use automation rules (using an automation user as an actor) or a ScriptRunner post-function on a specific transition. Test on a copy first because workflow modifications enable editing without reopening. @nida ergenç If this helps you kindly let me know.
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.