Hi,
I'm trying to set an automation with a trigger related to a modified field but I can't find the field I'm looking for.
I'm talking about "Parent" (system field) because I need to fire an action when a the value of the "link to parent" change.
Someone can help me?
Thanks in advance,
Claudio.
Hello @Claudio Pellegrini
Welcome to the community.
Are you working with issues in a Team Managed project or a Company Managed project?
Are you looking at sub-task type issues or issues that are children of Epics?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Trudy Claspill I'm working with Team Managed proyect (Jira Cloud) and I'm trying to set a trigger when a Story (feature, task, etc) is linked (unlinked) to an Epic.
The problem is that in the LOV of fields of the "change value issue" trigger i can't find&set neither Parent not Epic value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Claudio Pellegrini
It appears to me that the information in the related post I referenced applies to your situation.
It is a known issue that the Parent field (used in Team Managed projects to note the parent Epic of an issue or the parent issue of a sub-task) is not available to using in the When Field Changed trigger. The work-around to use in similar circumstances is to use the Issue Updated trigger and then check the Change Log to see if the specified field was updated, but according to one of the issues listed in the post
https://jira.atlassian.com/browse/JSWCLOUD-22498
...updating the Epic to which an issue is linked in a Team Managed project does not trigger the Issue Updated action. I haven't actually tested that myself, so I would encourage you to try that our to see if the work around actually works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Trudy,
the workaround could work but in this way the trigger will be active twice, when I modified the issue and when the issue is modified by the automation.
Cheers, Claudio.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you have no other rules that would change the parent then you could uncheck the box on this rule for "allow other rule actions to trigger this rule". Then it would be triggered only by manual changes to the parent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Claudio,
I think you are trying to use Custom Field, those will not appeared in some dropdown list for automation conditions, you have to use advance condition, and a bit of code, see image below:
You can find the Custom field ID by going to the Jira admin cog -->issues --> Custom Field --> click the name of the field, see image for example.
And to copy from a parent Issue select the option in the Edit Field Action
Hope this help you out.
Cheers,
Nico.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Nico,
I'm not searching for a custom field but a "system" field, on the contrary I can find the custom field rather than system field
Here the list of filtered field and below som value returned by invoking API https://xxxx.atlassian.net/rest/api/3/field (I'm looking for the first one "Parent")
[...]
[...]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Claudio,
I think you should look at the trigger options :
"Issue Link Deleted" and "Issue Linked"
Let me know how it goes.
Cheers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Nicolas Tagle It doesen't work because I'm try to fire an action where an issue is linked/unlinked to an Epic while what you suggest I think work only when clone/block/related link is created by an issue
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.