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.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Copy existing issue values to Create Linked Issue Screen fields

ZubatyNos July 7, 2023

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

3 answers

1 vote
Ram Kumar Aravindakshan _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 7, 2023

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

ZubatyNos July 7, 2023 edited

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:

Snímka obrazovky 2023-07-07 130413.png f

which then brings this Create Linked Issue Screen popupSnímka obrazovky 2023-07-07 130650.png

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.

0 votes
Reinhard Mayr July 10, 2024

@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

0 votes
Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 7, 2023

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.

ZubatyNos July 7, 2023

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.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

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
AUG Leaders

Upcoming Jira Events