Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hello everyone, I'm trying to do this with Jira Scriptrunner Behaviours but with no luck. My use case needs to differentiate the create linked issue screen from regular create issue screen. I tried using the underlyingIssue variable but that doesn't seem to work on create issue screens.
Is there possibly another way?
Thanks a lot!
Rastislav
Hi @ZubatyNos
In your description, you mentioned:-
My use case needs to differentiate the create linked issue screen from regular create issue screen
Are you trying to add a Linked Issue on a transition Screen? Please clarify.
Thank you and Kind regards,
Ram
Hello @Ram Kumar Aravindakshan _Adaptavist_ , thank you for answering. I'm not sure whether it's a transition screen, but I can create a linked issue on my issue page this way:
f
which then brings this Create Linked Issue Screen popup
It even has the popup on the right which has the existing description saved so I'm wondering if it's possible to just copy the existing values right away and not have it done manually.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@ZubatyNos , have you found a solution or a workaround?
According to this thread https://community.atlassian.com/t5/Jira-questions/How-to-check-whether-the-screen-is-the-Create-linked-issue/qaq-p/1407876 it is not possible to differenciate between create issue and create linked issue operation in the behaviors.
KR, Reinhard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I did some more digging and trying and came up with this workaround
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could setup a scriptrunner fragment to lay in a command into your menu system, put a script behind that to auto create the linked issue based the existing issues values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, thanks for the answer. This seems plausible maybe the question would then be about choosing the linked issue type (?) meaning that it either implements/is implemented by the parent issue etc.
The idea to have it change in the screen was that the person creating the linked issue could skim over the copied data and possibly change it, but yes this seems like an acceptable alternative.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register Now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.