Forums

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

Jira automation smart value Key

Suporte JRetail
Contributor
July 27, 2022

I'am tryng to create a rule based on an iten key, the start of the key is "DESENV" based on the project name, but to use JQL in that ocassion, I need to specify a key, isn't it possible to only use the "DESENV" as an smart value in that automation? there isn't a way to not specify wich Key is that I want? like search for keys that have the number 1 or something like that?

OBS: I can't use Projet as an smart value.

1 answer

1 accepted

1 vote
Answer accepted
Mark Segall
Community Champion
July 27, 2022

Hi @Suporte JRetail - Can you please provide more detail about what you're trying to accomplish?  Specifically, why are you focused on the project key portion of an issue key?  This will help us provide you the best answer.

Suporte JRetail
Contributor
July 27, 2022

I'am focused on the project key because I don't want to make an muti project rule, I wanted to check the associated iten key because the key says form wich project the associated iten is, so I just wanted to make an rule that says wich projects are associated with an iten.

Mark Segall
Community Champion
July 27, 2022

I don't want to make an muti project rule

I'm still trying to understand what you're trying to accomplish.  Maybe we take a step back and just share your expectations for how the rule should be triggered along with the conditions, and actions you're trying to accomplish. 

Suporte JRetail
Contributor
July 27, 2022

So I want to trigger the rule when an iten is associated, and then check an JQL to check the key "DESENV" and then edit this iten, change the field type of service to development

Mark Segall
Community Champion
July 27, 2022

Got it... Thanks for the additional clarity.  Depending upon which half of the link you're dealing with, you should be able to perform an advanced condition like:

{{issue.project.key}} or {{destinationIssue.project.key}}

Equals

DESENV

Suporte JRetail
Contributor
July 27, 2022

Thank you very much for all the help and sorry for anything @Mark Segall 

Best regards, Jretail Sistemas

Suporte JRetail
Contributor
July 27, 2022

@Mark Segall So sorry for asking again, but do you know what trigger can I use to when an iten is linked to another? I only found when the iten is linked to another iten not when an iten is linked

Mark Segall
Community Champion
July 27, 2022

You keep using the term "iten" and I first assumed that was a typo.  Can you please elaborate a bit more on what you mean?

For linking issues, you would use the trigger Issue Linked.

Suporte JRetail
Contributor
July 29, 2022

I meant issue, because my jira is actualy in portuguese and there we use the name iten.

Thank you very much for your help again and sorry for anything.

Mark Segall
Community Champion
July 29, 2022

No problem at all - Language differences always make for more exciting conversation.  😉 I'm just making sure we're on the same page.

So yes, you want the Issue Linked trigger for the rule.

Like Suporte JRetail likes this

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