Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the correct Plattformlink when creating a clone through automation?

Ryo Moschnitschka
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 13, 2023

So I am working at an automation that should, when finished, create a similar Period but with a little bit of new information. Currently my automation is cloning the selected issue and changing for example the year of the cloned to what I need. This works fine but my problem is, that whenever I do this the link is not copied in the new Period. I am still new when it comes to working with jira and I would appreciate any suggestions that could fix my issue.

 

Thanks in advance for helping

2 answers

2 votes
Piyush Singh
Contributor
July 13, 2023

To obtain the correct platform link when creating a clone through automation in JIRA, you can follow these steps:

Step 1: Retrieve the Clone Issue Key:
When automating the clone creation process, you need to first retrieve the key of the original issue that you want to clone. This key uniquely identifies the issue within JIRA.

Step 2: Construct the Platform Link:
Once you have the clone issue key, you can construct the platform link by appending it to the base URL of your JIRA instance. The base URL is the web address that allows you to access JIRA. For example, if your JIRA instance is hosted at "https://example.atlassian.net," the base URL would be "https://example.atlassian.net/browse/".

Step 3: Add the Clone Issue Key:
Append the clone issue key to the base URL to create the platform link for the cloned issue. For instance, if the clone issue key is "ABC-123", the platform link would be "https://example.atlassian.net/browse/ABC-123".

By following these steps, you can programmatically obtain the correct platform link for the cloned issue during the automation process. This link can be used to navigate directly to the cloned issue within the JIRA platform.

Note: The specific implementation of the automation may vary depending on the tools or scripting languages used. Adjust the steps accordingly based on your automation setup and requirements.

0 votes
Evgenii
Community Champion
July 13, 2023

Hi, @Ryo Moschnitschka 

Welcome to Altassian Community

Please, can you clarify what Period are you talking about and what link you try to copy?

Suggest an answer

Log in or Sign up to answer