I made a Hierarchy in structure plugin with some issues. is there any way to get the Hierarchy structure in custom filed(Text type) value.
Hello @IYTHA RAJESH ,
David from ALM Works here.
Using the Attribute to Issue Field Effector, where the attribute is a formula like the one below, should work for you:
IF issuetype = "Epic":
JOIN#subtree{key}
You would just need to modify the IF statement to match what is on the level you want to run the calculation at.
Please let me know if it helps!
Best,
David
Hi David Niro,
Thanks for your reply,
I have added the formula Attribute to Issue Field Effector , The custom field is getting updated with this effector but my requirement is when I change the Hierarchy order manually the custom field should be updated accordingly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @IYTHA RAJESH ,
In order to write the new values to the field, the Effector will need to be run again. Effectors need to be run manually.
There is an option to have Effectors run on a schedule, using Scriptrunner. The script to do this can be found here.
Please let me know if this helps.
Best,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @IYTHA RAJESH welcome to the Atlassian Community!
What do you mean exactly? Are you talking about the Structure panel in the issue detail view? Structure allows many types of hierarchies depending on the way generators have been added.
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.
Here I have attached the image, which shows the structure plugin parent children hierarchy relation. I had a multiline text field in the parent issue, the value of the parent issue custom filed should be structure plugin hierarchy which I had created.
Example for parent issue custom field value: Group*1 -> {Req-4, Req-3, Req-1, Req-2(Req-2.1)} ( Hierarchy manner)
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.