Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation for Jira Lite link issues on creation

Esther Strom Community Leader Jan 27, 2020

We're looking at using a Service Desk project with the out of box change management template. One of our uses for this is to set up a change request for a software release. However, because the service desk portal view doesn't allow linking issues, we need to find another way to link all of the issues to be included in the release request. Most of our requesters will not have service desk agent licenses (although they do have Jira licenses) so they will not be able to create the ticket directly in the project, or edit it after creation.

I had a thought of adding the fix version field to the request and then using an automation rule to create links to all tickets in all projects that have that fix version, but I don't know if it's possible. The only options I see for the Link Issue action is Trigger Issue or Most Recently Created.

2020-01-27 17_03_15-Automation rules - Jira Staging - Opera.pngAm I hoping for too much here?

1 answer

1 accepted

0 votes
Answer accepted
Simmo Atlassian Team Jan 28, 2020

Hi Esther,

Thanks for getting in touch. The rule you're trying to do is pretty straightforward, but I have one thing to clarify before I can give you an example of how to achieve this.

Would you be using the fixVersion field itself or just a custom field that is a single version selector for the request? This'll affect how we go about solving it.


Esther Strom Community Leader Jan 28, 2020

Hi, Simeon. Originally I was thinking the native fixVersion field, but that would mean that someone with project admin access (most likely me) would have to make sure that all fix versions across all projects exist in the SD project to allow the portal customer to choose from. The same would be the case with a custom version picker.

What I'm thinking of now is just a single-line text field that we will train our users how to fill in (there aren't that many that would be submitting this kind of request). The expected value would be a single line with the value corresponding to an actual fix version value (we use numbers, so 18.1.5, etc.).

Simmo Atlassian Team Jan 28, 2020

Hi Esther,

Okay, so if you're going down that path then it is fairly straightforward. I'd be doing this at issue creation and an example of how you might tackle this is:

s1.pngs2.pngSo the rule is triggered when an issue is created. We then use the branch on JQL to find all issues with a fixVersion same as that entered into the custom field. You can see that I've used smart values to reference this field. You can just use the field name rather than the customfield id, I just didn't know the field. Once we've branched onto these issues we just want to link them to the issue that kicked things off so we use the link action with trigger issue.

You may need to add some project restrictions but hopefully this should get you started.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

107 views 1 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you