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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

automatic issue linking Edited

I'd like issues to be automaticly linked based on a custom field.

What is the best way to achieve this?

(Server v7.8.0)

1 answer

1 accepted

0 votes
Answer accepted
Fazila Ashraf Community Leader Jan 09, 2019

Hi @Frank Rieter

Do you update the custom field only in a transition screen or even in the edit screen?

If only in transition screen, you can handle such logic though a custom script in post function.

If it is updated via edit, you can handle such a logic via script listeners custom script.

Hi @Fazila Ashraf,

Thanx for your quick reply,

The tickets are automaticly created throug the jira api. The custum field is filled with data from our database (a client-id).

Yours,

Frank

Fazila Ashraf Community Leader Jan 09, 2019

Hi @Frank Rieter

Same logic for rest api calls. Check whether the call transition and edit this value or just direct edit.

If the field is only editable in a workflow transition, it is probably simpler with a post function custom script :)

But either way, a custom script with script listener would definitely work.

Thnx; this puts me on the right track.

@Frank Rieter @Fazila Ashraf 

 

If this issue got resolved can anyone share me a custom script which you have used, we also want to link two issues automatically based on custom field.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

215 views 1 4
Join discussion

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