Hi Team,
how to update a custom field automatically based on criteria whenever the user modifies the other custom field.
please help me with this.
Thanks,
Tirupam
Hello Tirupam.
As Poojaa points out, you can populate the value of a custom field based on the value of another by using a scripting solution found on the Atlassian Marketplace.
To do this in Power Scripts, see this documentation on "Update The Value of a Custom Field Based on Another" using Live Fields (a Power Scripts feature that allows you to customize Jira UI in Jira Server or Data Center).
Live Fields typically has two scripts--a main script and a hook script. Here is an example main script:
lfInstantHook("issueType", "hook.sil");
lfWatch("issueType", "issueType", "hook.sil");
Here is an example hook script:
if (argv["issueType"] == "Feature") {
lfSet("textField", "This issue is a Feature");
} else if (argv["issueType"] == "Story") {
lfSet("textField", "This issue is a Story");
}
For more information on configuring Live Fields, see this documentation.
You may need to open the documentation in incognito mode or log out because of Atlassian security features.
Regards,
Hyrum
A note of disclosure, I am a product engineer for Power Scripts and work for Anova Apps, an Appfire Company.
Hello Tirupam,
This can be achieved using add-ons like Automation for Jira or ScriptRunner. I don't think it can be achieved using out-of-the-box Jira functionalities.
Regards,
Poojaa
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.