Forums

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

Create linked issue but

Sysad
Contributor
July 5, 2020

Hi All

As an admin.we have a requirement, any help/suggestion/solution is appreciated

We have a workflow it looks like this in project A(service desk) -


Open to Inprog---Inprog to close and open to close and close to reopen and reopen to Inprog

Scenario 1-

When A1 is moved from Open to Inprogress, a linked ticket is created in Project B(software), let us call it as B1. This is doable

Scenario 2-


When scenario 1 completes, the ticket will be closed. and if reopened, it can go to in-progress and in-progress will trigger "create linked issue" post-function, here we don't want to create a linked issue if a linked issue already exists

Scenario 3-

When A1 is directly closed from Open, it can go to reopen or stay closed. When in reopened status, the ticket can go to in-progress, here we want to create a linked issue only if there is none if the linked issue already exists then do not create one

How to check for existing linked issue condition while creating one?

We have JSU add on

Thank you

 

2 answers

1 accepted

2 votes
Answer accepted
Partibha Rani
Contributor
July 6, 2020

Hi, 

For Scenario 1, you can use Create Linked Issue Post-function and to achieve Scenario 2 and 3 you should use JQL Precondition as,

issue in linkedIssues({issue.key}) and project = "Project B",  Must not find issues

Make sure, to select option, Precondition should be true in Create linked issue post-function.

For more information, you can always raise a support ticket to our support portal https://servicedesk-apps.beecom.ch/servicedesk/customer/portal/3

Thanks

Sysad
Contributor
July 6, 2020 edited

Hi @Partibha Rani 

issue.key, is it the issue key (Project A) of which post function is being used? and should it be manually entered in precondition? or JQL should be used as-is and the system will consider it as the current issue key.

Do you prefer a ticket in the portal? if so I can

Partibha Rani
Contributor
July 7, 2020

Hi, 

issue key is the is the key of issue in transition. This query should be as I have provided, make sure to put correct project name. At the time of run, {issue.key} will be replaced by actual key of issue in transition.

Yes, Please contact to our support.

Thanks

Sysad
Contributor
July 8, 2020

Thanks

0 votes
Thomas July 5, 2020 edited

Hi,

I see two options:

A: You can define a special linktype to create and validate the issues created by postfunction.

B: You could create/set a separate field that indicates an issue that is created by postfunction.

 

Ciao

Suggest an answer

Log in or Sign up to answer