Hi,
Let's say i create an issue and the description contains the text/string 'Subject: test'.
I'd like to copy the text 'test' into a new component of the current project. How do i achieve this using a Jira Automation rule?
Thank you in advance.
With kind regards, Will
In addition to Vishal's suggestions...
What do you mean by "a new component of the current project":
If you mean the second one, there is no built-in way for automation rules to add a new Component to a project. Instead the automation rule would need to call a REST API functions with the Send Web Request action to do so, first checking if the value exists, or not.
To do that, here is a how-to article for calling a REST API function from a rule, and the specific functions I believe you would need:
Kind regards,
Bill
Hi @Bill Sheboy ,
At first i thought the second one was the intention, but after asking my colleague further, the first explanation was the purpose. So it's okay. I will follow the link Vishal suggested.
Thank you for your reply.
Regards, Will
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Before setting the string as a component, you need to get the string "Test" from description & then you can set it as a component, you can try using substringAfter( String separator) smart value in the automation to get the string. More details here in the link.
Give a try & let us know how does that go.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Vishal ,
Your reply with the link you sent me is very helpful to me.
I will study this and i will give it a try. I'll let you know about the progress.
Thank you.
Regards, Will
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.