Hello all,
I have epics and their parent level of capabilities that both have mandatory radio buttons. I want to create an automation where when I change the capability of an epic, the epic automatically changes its mandatory radio button to match the capability.
I have tried several options but so far have yet to get any successful results. Any assistance would be helpful.
Hello John,
When: Issue updated
If: Issue Type equals: Epic
For Parent
If: Mandatory equals: Yes
Then: Edit issue fields: Mandatory - Yes
Else
For Parent
If: Mandatory equals: No
Then: Edit issue fields: Mandatory - No
Hi Scott - Welcome to the Atlassian Community!
Can you share the rule that you have so far and where it is not working as you desire?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please reply in line here so that other readers can follow the train of the conversation.
Can you post a screen shot of the actual rule please? That way we can see the level each item operates at.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As you can see, I am trying to make my Epics match their mandatory field to the next step above them (capabilities). However, after verifying that the mandatory fields differ between the epic and capability, no action is performed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, what happens is that the second Condition is failing so the rule stops. So it is NOT verifying that the values are different. Can you share the details of that IF statement?
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.
Maybe it doesn't like the field name Mandatory as that might be a reserved word. Try using the {{smart values}} condition along with the field ID.
In the example below 10134 would be the id of your Mandatory custom field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It looks like the if.matches works based on the custom field ID, however the edit function is still failing.
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.
Also I wanted to say thank you for bearing with me through this one John.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So, if it is the parent level field value that is changing, and you want to copy that down,
then you will need to add a Branch for Children between the two Conditions. And move the second Condition and subsequent field update under the branch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I Confirmed that the value of the custom field matches in both the parent of the Epic and the Epic itself. Below is the error and the new flow:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, the log action did recognize that it is listed in the "no" position however it still fails to execute the edit to match it to the parent above it. Is it possible that since the item child parent relationship is an Epic to Capability relationship, that the term "parent" isnt functioning the way I want it to?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The values of each field are a radio button selecting either Yes or No. The custom field number for both fields is the same, 32090. The log action done was on the Epic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The current value for the Epic is No. The current value for the Capability is Yes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As an update. I have found that jira is unable to execute a log action against {{issue.parent.customfield_xxxxx}}. My guess is that "parent" is not accepted for items above Epics. I have attempted to use capability and feature, both of which did not work sadly. I would also assume that means that the advanced compare is not executing properly if the system cannot log the position as previously mentioned.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still the same issue, as I think it is something to do with the "Parent" and what that phrase identifies.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am wondering if it is the type of field. See if you can add a different type of field and do the same thing with copy from Parent issue and see what happens. Maybe Due Date or something like that. Just make sure there is a value in the Parent issue for that field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sadly does not work, which reinforces the perspective I have regarding "parent" not applying to items above Epics:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So the Epic has a value in the Parent field. Is the Parent in the same project? Or a different project? If different, are you sure you have full permissions to that project? Is the rule a single project rule? Or have you included both projects in a multi-project rule?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same project, only a single project. I have admin access. Both the Epic and Capability have the same fields (now tested Mandatory field and Priority field).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, and confirmed they are both listed on the "View issues screen" within the "field" tab for both issue types (Epic and Capability)
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.
Sorry dude, I am all out of suggestions. You should probably open a support ticket with Atlassian to see if they can help. Please post back here with the solution for future readers.
https://support.atlassian.com/contact/#/
Good Luck!
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.