Forums

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

Update initial ticket issue type when an issue of type X is linked

Caleb TeBokkel
Contributor
December 12, 2023

I have two projects, a support project, and a development project.

Customer submits a ticket into the support project with issuetype "Support", issue A.

Development creates a ticket in the development project with issuetype "Bug", issue B, and links the ticket to the support project ticket, issue A.

When issue A, of issuetype "Bug", is linked to issue B I want to edit the issuetype of issue B to "Bug", using automation.

The automation should trigger when issue A is linked, and only if issue A is of type "Bug".

 

Please let me know if you have any ideas. 

2 answers

1 accepted

2 votes
Answer accepted
Caleb TeBokkel
Contributor
December 12, 2023

This is what I've tried. When issue is linked and the created issue is of project A, and type B, update the destination issue issuetype.

Automation 1.png

Caleb TeBokkel
Contributor
December 13, 2023

The above automation works as expected if I switch out the Edit: IssueType for Edit:Assignee (or any other field).

It looks like Jira is unable to edit the destination issue type if the source issue (the created Linked Ticket) does not belong to the same workflow. In this case, Issue A (destination issue) is part of a different workflow (although uses the same issuetype name called Bug), than Issue B (source issue / created linked ticket).

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 13, 2023

Hi @Caleb TeBokkel 

I read that your initial issue is different the you show in the automation.

To summarise:

  1. A customer raises a ticket on your support portal. 
  2. Development creates a "Bug" issue in their dev project
  3. Links the "Bug" issue to the raised ticket on the portal
  4. The portal ticket should be come issue type "Bug"

Is this correct?

Automation says it the other way around.

What is the issue type used for the request on the portal, is this also issue type "Bug", if this is no and you want to change this, this will break the connection to the Request Type on the portal and the custom won't be able to see the raised issue.

Can you clarify on what you exactly want to achieve?

Caleb TeBokkel
Contributor
December 13, 2023

The above automation works as expected if I switch out the Edit: IssueType for Edit:Assignee (or any other field).

It looks like Jira is unable to edit the destination issue type if the source issue (the created Linked Ticket) does not belong to the same workflow. In this case, Issue A (destination issue) is part of a different workflow (although uses the same issuetype name called Bug), than Issue B (source issue / created linked ticket).

Like Marc - Devoteam likes this
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 13, 2023

Hi @Caleb TeBokkel 

That is certainly so. I forgot to think this logical.

Caleb TeBokkel
Contributor
December 13, 2023

Thanks for your assistance! I will submit a request to Jira to add the ability to change the destination issue issuetype even if it does not belong to the same workflow as the source issue.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events