Hi Atlassian Team,
Show parent issue in hierarchy is not working in our server instance. Could you please help where can I find that?
Basically we are trying to achieve below:
UC1: If the feature has Parent Epic, and Epic is linked to Strategic theme, then Epic's Strategic Theme Value is displayed on Feature's Strategic Theme field as read only.
UC2: If Strategic Theme Value on Epic changes, Strategic Theme on Feature should be also updated.
UC3: at any time one should be able to query on Feature's Strategic Theme field.
Regards,
Anuradha
@Anuradha Yadav, You'll have to create a custom listener. The ones in the screenshot are the default ones. While I don't have a script handy, I'll see if I script one in the coming days and share it with you.
Hi @Anuradha Yadav,
Based on your UC1, if you have a plugin like Scriptrunner installed in your Server instance, you can create a Listener to update the Feature's Strategic Theme field value for any updates made to the Epic's Strategic Theme Value using an "issue updated" event. This must be possible with other plugins supporting a similar functionality.
Once the above is implemented, the Feature's Strategic Theme field value will always be up to date for every change made to Epic's Strategic Theme Value and in turn, you will be able to query based on Feature's Strategic Theme field value always.
Hope this helps!
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bharathi
Could you please elaborate? how I can create listener? As I am very new to this Scriptrunner usage.
Or example will help, Please.
Regards,
Anuradha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can navigate to Administration --> Manage apps --> Listeners under Scriptrunner --> Create listener --> Add in a listener for "fields" using a groovy script that runs for all "issue updated" event of the Epic's Strategic Theme field. You can refer to the documentation here: Listeners (adaptavist.com).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Bharathi, I am checking on that right way! I would also appreciate if you have any groovy code examples for my use case. ie to update "strategic theme" field in Feature when in Epic it is updated.
Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bharathi,
I do not see any such listener matching my use case, could you please help?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Antoine Berry I saw that you have suggested some answer on the below-
I see that its kind of similar but Scriptrunner Listener to update custom field value in Feature based another custom field value in Epic in Epic level project ?
Could you please suggest a code for the same?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jeff Tomband ,
could you please help me with the code like you did in below-
its kind of similar. I would really appreciate because this is something critical in my project.
Regards,
Anuradha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am a total newbie to Script runner and writing script and had no luck till now on this, Would really appreciate some help with script . Thank you!
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.