Author Topic: Identify Element as Issue and Move  (Read 61 times)

Markus Bauernfeind

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Identify Element as Issue and Move
« on: November 06, 2017, 11:14:56 pm »
Hello,
I have two questions.

1st I have an Issue element within a Package with the name "issue1".
When I iterate through package.Elements I find an element with the name "issue1", but how do I itentify that this is an Issue.

2nd how do I move it to another packege. The packageId of the package is known.

Thank you
Markus

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 7682
  • Karma: +157/-21
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Identify Element as Issue and Move
« Reply #1 on: November 06, 2017, 11:55:27 pm »
Markus,

1. Check EA.Element.Type
2. Set EA.Element.PackageID to the id of the package you want to move the element to. Don't forget to call update after changing anything or your changes won't be saved.

Geert