Hello all!
Need help with a specific issue I'm trying to solve using automation rules between two projects.
I have created an automation rule for when a specific issue type is created in Project A, it creates a new issue in Project B. Both projects have different issue types as they handle different ticket types. The rule links both issues so it is easy to reference and adding a comment for paper trail.
My issue is: I would like to edit the issue that is created from the rule (created for Project B) but I do not know how to auto-set the Request type for the Project B newly created issue/ticket using the automation rules.
When I select to add a component to "edit" the issue type within the automation rule, it triggers an error: "Sorry, but changing the Customer Request Type is currently not possible, since Jira Service Management does not provide an API for this."
Is it possible to create a new ticket using automation and set a specific Request Type in Project B? Hopefully that all makes sense and I'm happy to elaborate more. Thank you everyone!!!
Hi Miriam,
While setting the Request Type is not possible on the Create Issue action, you can use the Create a Request action and select the target request type instead of issue type.
I think what you reported might be available in the future. It seems that is related to the feature request described here that is under Future Consideration: https://jira.atlassian.com/browse/JSDCLOUD-1835
Regards,
Ioana
thank you Loana for the detailed help and screenshot! I tried to setup the automation rule with the exact setup >> created a new ticket and the rule failed. I noticed it did not create a ticket in the other project and the error message I am not sure about. Do you know how to define the ID/key?
It also failed due to a date field that had an error. :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Miriam,
The ticket/request creation failed because you have 2 mandatory fields on the request type:
The second error related to linking issues is normal. Because the ticket was not created in the second project, the rule couldn't find a ticket id/key to use to link it to the trigger issue. So, since no "recently created issue" exists (as it was not created), no ID exists and the linking fails.
Now, in order for your automation to work you will have to remove the validation of the Attachment field and make it optional on the request type in the second project. Unfortunately it is not possible to set the Attachment field during creation of a request from the automation rule.
As for the Employee Start Date you can set it on the same action that is creating the request in the second project. You can either select a certain value or copy it over from another date field from the trigger issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Loana! Thank you so much and I sincerely appreciate your help! I made an adjustment to the required fields of the Start Date and the Attachment.
Is there a way to link the tickets so they are easy to link back? - I would like to link the ticket created from Project A and B if possible. Or maybe create a separate rule to link so its doesn't conflict.
Thank YOU!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Miriam,
After the create service request action, you have to add the action to link issue to the most recently created issue. So your trigger issue (project a) is linked to the newly created ticket (project b).
Did you encounter any issues with this?
Regards,
Ioana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.